danray
Members-
Content count
11 -
Joined
-
Last visited
About danray
-
Rank
Junior Member
-
I'm using MSStackedColumn2D, and I don't want to show ANY values--I'm using tooltips a table below the graph to show the underlying data. I can turn off the display of individual datatsets' values by setting showValues='0', but there remains a display of the SUM of the stacked column values at the top of the column. This chart is two columns of weekly data for the last year, so 104 total columns--those numbers are way ugly with that many datapoints. How can I turn that off? I've even set showValues='0' in my chart tag, and that didn't prevent this thing from showing the numbers!
-
I want to use stacked columns to show a comparison between one dataset and the sum of two other datasets. I want one column, and then another column consisting of two sets stacked. I've got this formatted right, as far as I can tell, but the chart renders empty. Any help would be very much appreciated! ---Well, my code breaks the forum. I put it in square-bracket code tags too. Hm. Basically, I nested my dataset tags inside other dataset tags. Far as I can tell, they're nested properly--and FusionCharts doesn't complain about badly formatted XML. But it doesn't render anything. Any guesses, considering I can't seem to actually post here what I've done?
-
I should add--I'm emitting the XML from a perl script. The same script with different data renders just great. I've tried capturing the different XML and diffing them, and don't see anything glaring. Also the XML I'm sending to the charts that don't work pass online XML syntax checkers with no errors.
-
I'm feeding XML to a chart. I've got many different charts happening, and mostly they work. Certain ones, though, I can't get the data to show up. I see the Y axis auto-scaling to the appropriate value given the data I'm sending, but nothing gets rendered in the dataplot. Weird! Help!
-
Yeah, it's all good, I just thought I'd note the next thing I stumbled over, for anyone who reads this thread in the future. render() is only needed on first load, and after, that setting the data URL causes the redraw.
-
I have a stacked area chart. I've sorted the datasets to be "heaviest-first", so the one with the biggest total is rendered first, at the bottom of the chart, the next comes next, etc. Problem is, the last dataset contains many zeros. Because it's on top and rendered last, its tooltip is what comes up when you hover over the highest point of the dataplot, even if its value is zero--and you don't get the tooltip of the largest dataset with actual data, which would be the most useful thing to show. I've tried setting showToolTip='0' and showToolText='', and neither made any difference. Thoughts?
-
Okay, good.... The next gotcha I discovered is, you only call myChart.render() on initial load. After that, just calling setDataURL() re-renders the graph. The chart object you get with getChartById() doesn't have that method either. Thanks!
-
Okay, so now I'm working with the demo of FusionCharts v3, and it's still not working. Fundamentally the same code as above. I set up an alert() to tell me that it's in the reusing-the-chart branch, and when it is, the call to myChart.setDataURL fails with "is not a function". Thoughts?
-
Oops... If I'd looked down ONE THREAD I'd have found my answer: this isn't supported in FCFree. Time to pull out the credit card, I guess.
-
I'm getting particular requests for particular charts from a drop-down (comes in as var "drop"). I have a json object myPageData, keyed on those drops that says which type of chart we want for each possible chart we're building. The idea here is, if we've already got that chart type up, don't bother to reload, just feed it fresh data. So if we're changing chart types, fetch up a new .swf, otherwise just get the chart from Id and bounce its data. var chartType = "FCF_" + myPageData[drop] + '.swf'; var myChart; var currentChart; if (chartType != currentChart) { myChart = new FusionCharts("fusioncharts/" + chartType, "myChartId", "800", "400"); } else { myChart = getChartFromId("myChartId"); } currentChart = chartType; myChart.setDataURL("esmt/feedxml.pl?" + drop); myChart.render("chartdiv"); The load-the-new-chart-type part works great, but when I try to refresh the current chart, I get "myChart.setDataUrl() is not a function". What's up with that?