• Content count

  • Joined

  • Last visited

About nickpdx

  • Rank
    Junior Member
  1. Which charts fall into that category?
  2. I found the cause of this issue thru trial and error... As it turns out, if you call setDataXML() _before_ calling render(), you must escape the XML string using javascript's escape() function. If you later call setDataXML() on the resulting embedded flash object, you don't have to escape the XML. I don't think this is covered in the documentation, I know that no discussion of escape() exists in the v3 docs section Web Developers > FusionCharts and Javascript.
  3. I have been using the setDataURL method to load charts, but I wanted to switch because I want to further process the chart's XML using JavaScript; I want to get the returned XML, hand it to my chart using setDataXML(), then hand it to further processes. But setDataXML() complains for every one of my charts, "Invalid XML data." I am attaching the captured XML exactly as it is returned from an ajaxy-type server call. I'm handing it to setDataXML() as a string, so the contents of that string should be exactly equal to what's in the attachment. That said, I fail to see how it's invalid XML. I have tried removing all newline characters; and removing the link attribute which contains the only characters that are even slightly different (encoded entities) - but those entity encodings still make valid XML. Like I said, this exact same XML when returned via setDataURL() is accepted by the chart just fine. example xml.txt
  4. Once a chart has rendered, and FC_Rendered() has called back, can I use JavaScript to retrieve the chart's data XML?
  5. I like your pie charts and how I can associate a grid component with it, so much that I'm pushing a PO through at my company to buy FusionCharts3. But the pie+grid component logically joined together can be taken much, much further. If you could create a new SWF that produces both the pie and grid on one canvas, linked together such that the grid clicks would highlight or slice-out the corresponding pie piece... that would allow the information represented there to be conveyed with so much more clarity and speed. It relates back to my other post about adding legends to any type of chart, perhaps. If one could add a grid component inside the canvas of any single-series chart and specify the relation of each grid item to one or more data plots, the grid item becomes an embedded functional legend for the chart. In a bar or column chart, clicking the grid item could highlight the corresponding bar(s). In a pie chart, it could behave like I've already described. You're making a solid product; I hope you continue to work to make it better. Thanks for at least giving my suggestions an open ear.
  6. Multi-series chart with unrelated categories?

    So there's no way to add a legend to the outer-canvas of any chart? Is that something you could maybe put down as a future improvement? It would seem to be a solidly valuable addition to any type of chart. <chart> <set color="FF0000" ..... /> <set color="00FF00" ..... /> <legend> <item color="FF0000" label="Alpha"/> <item color="00FF00" label="Beta"/> </legend> </chart>
  7. Nope... that would mean setting the numItemsPerPage flashvar (or whatever it's called). Like I detailed in my first post, I'm not setting that flashvar.
  8. SSGrid and links?

    edited so the tags are visible
  9. I found that if I append a newline character to the label of each set element, it takes care of this issue. Could be a bug?
  10. SSGrid and links?

    probably you could do <set link=""/> or <set link="location.replace('');"/>
  11. SSGrid and links?

    The grid then displays the markup as text inside the label. That suggestion doesn't appear to me to facilitate creating links from Grid labels. I'm quite interested in how to do this, though.
  12. My grid component, every line the text is cut off horizontally. Only the top half of each character is visible. I'm trying to attach a screenshot. Can anybody tell me why, and what to do to fix it? XML generating the pie chart which the grid is based off: <?xml version="1.0"?> <chart outCnvbaseFont="Verdana" outCnvbaseFontColor="333333" outCnvbaseFontSize="10" showBorder="0" showFCMenuItem="0" bgColor="FFFFFF" caption="" yAxisName="" xAxisName="" rotateLabels="" slantLabels="1" rotateValues="" placeValuesInside="" showZeroPies="0" showValues="0" showLabels="0"> <set value="5" label="" link="javascript%3Aalert%28%27216.171.135.136%27%29" isSliced="1"/> <set value="5" label="" link="javascript%3Aalert%28%27216.171.135.139%27%29" isSliced="1"/> <set value="4" label="" link="javascript%3Aalert%28%2764.146.95.192%27%29" isSliced="1"/> <set value="4" label="" link="javascript%3Aalert%28%2764.146.95.193%27%29" isSliced="1"/> <set value="3" label="" link="javascript%3Aalert%28%27216.171.135.138%27%29" isSliced="1"/> <set value="3" label="" link="javascript%3Aalert%28%2764.146.95.195%27%29" isSliced="1"/> <set value="3" label="" link="javascript%3Aalert%28%27216.216.216.143%27%29" isSliced="1"/> <set value="3" label="" link="javascript%3Aalert%28%2764.146.95.194%27%29" isSliced="1"/> <set value="3" label="" link="javascript%3Aalert%28%27216.171.135.140%27%29" isSliced="1"/> <set value="2" label="" link="javascript%3Aalert%28%27216.171.135.137%27%29" isSliced="1"/> <set value="1" label="" link="javascript%3Aalert%28%27216.216.216.140%27%29" isSliced="1"/> <set value="1" label="" link="javascript%3Aalert%28%27216.216.216.142%27%29" isSliced="1"/> <set value="1" label="" link="javascript%3Aalert%28%27216.171.135.142%27%29" isSliced="1"/> <set value="1" label="" link="javascript%3Aalert%28%27216.171.135.141%27%29" isSliced="1"/></chart> FlashVars sent to the grid: "showPercentValues":0, "baseFontSize":8, "alternateRowBgColor":"f0f0f0", "colorBoxHeight":15
  13. Multi-series chart with unrelated categories?

    Thanks for the suggestion, it does enable the data to be charted. But not in quite the way I'd like. The multi-series charts by default organize the categories' data all together. What I would like is for the chart to be rendered with the columns for Alpha on the left, all colored red; the columns for Beta on the right, all colored green; labels on the x-axis for all columns; and a legend indicating that red is for Alpha, and green is for Beta. Put another way, take the output from your suggested multi-series column chart, and push all same-colored columns to one side. The category labels would essentially be repeated twice _if_ it has a value in both Alpha and Beta set. What I want is really more like a single-series chart where I set the same color on all the associated elements. But I don't see a way to add a legend to a single-series chart. Maybe my question is better asked this way: how can I add a legend to any type of chart? If that's not possible, I would have to ask why. It seems like adding a legend is absolutely necessary the second you begin manually setting colors for elements.
  14. I like the examples of a Pie chart paired with a Grid chart. I'd like to know if there is a way I could make the link attribute of my Grid elements, so that the click action would cause the corresponding Pie slice to slide out as if it had also been clicked on. Similarly, is there a JavaScript hook that I could use to cause the Pie slice to slide out as if it had been clicked on? That would enable me to create a web page with HTML elements that linked directly to the Pie chart.
  15. The data I want to chart is structured like so: Top 5 Alpha Widgets: foo, 12 bar, 20 baz, 49 fox, 31 bop, 88 Top 5 Beta Widgets: foo, 99 baz, 7 nut, 29 I thought I'd like to chart this on 1 chart with 2 categories, Alpha and Beta. The problem is obviously that the 2 data series don't share exactly the same labels. All the examples I've found for multi-series charts seem to mandate that all dataseries correlate with each other exactly, and that they contain exactly as many elements as there are categories for the chart. What type of chart should I use to display this data? It seems like I can't use the one I would like, multi-series 3D column, because the data doesn't fit into its allowed format. I could put both data series in a single-series chart with a spacer in between. But in that case, I would like to color all the Alphas together, color all the Betas together, and show a legend with Alpha and Beta next to their colors. However I can't find an example for adding a legend to a single-series chart.