chrisramakers
Members-
Content count
3 -
Joined
-
Last visited
-
Days Won
1
About chrisramakers
-
Rank
Forum Newbie
-
chrisramakers started following Disable Tooltips In Only A Part Of The Available Datasets
-
Disable Tooltips In Only A Part Of The Available Datasets
chrisramakers posted a topic in General usage
Hi, I'm currently trying to disable the tooltips on the lines in my MSCombi2D chart but can't get it to work. On what element should i set the showTooltips attribute to only disable the toolips for the Line anchors but still show them on the bars? <?xml version="1.0"?> <chart showNames="0" showValues="0" showLabels="1" showShadow="0" drawAnchors="1" anchorRadius="3" anchorBorderThickness="1" lineThickness="2" decimalSeparator="," thousandSeparator="." bgAlpha="0" showBorder="0" showPlotBorder="0" plotGradientColor="" plotFillAngle="0" plotFillAlpha="100" numVDivLines="10" divLineAlpha="20" canvasBgAlpha="0,0" canvasBorderAlpha="0" showYAxisValues="0" toolTipBgColor="FFF5EA" toolTipBorderColor="CF9D67" legendBgAlpha="0" legendBorderAlpha="0" legendShadow="0"> <categories> <category label=" 7/12"/> <category label=" 8/12"/> <category label=" 9/12"/> </categories> <dataset seriesName="steps" color="FF8F0F"> <set value="14280" toolText=" 7 dec 833 kcal 14280 steps 0 aerobic"/> <set value="5503" toolText=" 8 dec 321 kcal 5503 steps 5143 aerobic"/> <set value="0" toolText=" 9 dec 0 kcal 0 steps 0 aerobic"/> </dataset> <dataset seriesName="aerobic steps" color="E92B3D"> <set value="0" toolText=" 7 dec 833 kcal 14280 steps 0 aerobic"/> <set value="5143" toolText=" 8 dec 321 kcal 5503 steps 5143 aerobic"/> <set value="0" toolText=" 9 dec 0 kcal 0 steps 0 aerobic"/> </dataset> <dataset seriesName="steps target" renderAs="Line" color="9B5200" anchorBgColor="9B5200"> <set value="4400" /> <set value="4400" /> <set value="4400" /> </dataset> <dataset seriesName="aerobic steps target" renderAs="Line" color="601218" anchorBgColor="601218"> <set value="2000" /> <set value="2000" /> <set value="2000" /> </dataset> <styles> <definition> <style name="labelsFont" type="font" color="AFAFAF"/> </definition> <application> <apply toObject="DataLabels" styles="labelsFont"/> </application> </styles> </chart> -
Issue When Using Fusionwidgets And Fusioncharts On One Page
chrisramakers replied to chrisramakers's topic in General usage
Hi Angshu, Thanks for the swift and clear response. One word of advice tho, please update the documentation to reflect this limitation, it would have saved me a couple of hours debugging. The documentation clearly states that charts and widgets can be used side by side on a single page, a little note that it won't work when enforcing javascript rendering might have saved my day, and more important ... my planning regards, Chris -
Issue When Using Fusionwidgets And Fusioncharts On One Page
chrisramakers posted a topic in General usage
We are currently working on an update to one of our sites for ipad compatibility so we downloaded the latest version of Fusioncharts and fusionwidgets and migrated all our charts to the javascript highcharts implemenation. Yet, there rises a problem when we add one of the FusionWidgets to the page. From the moment we add the widget to the page the following javascript error occurs: Uncaught TypeError: Cannot call method 'push' of undefined I've checked and doublechecked the paths to the swf's and all seem to be ok. I'm using FusionCharts XT v3.3.2 release 3880 and FusionWidgets version 3.1.1 Below is a simple mockup that also triggers the error here (OSX, Chrome stable channel). When removing the setCurrentRenderer line everything works fine with the flash charts, if the line is added the error occurs and the Chart renders fine but the widget doesn't render at all. <html> <head> <title>My First chart using FusionCharts</title> <script type="text/javascript" src="/chartsxt/FusionCharts.js"></script> </head> <body> <div id="chartContainer">FusionCharts will load here!</div> <div id="widgetContainer">FusionWidget will load here!</div> <script type="text/javascript"> FusionCharts.setCurrentRenderer('javascript'); var data = "<chart caption='Weekly Sales Summary' xAxisName='Week' yAxisName='Amount' numberPrefix='><set label='Week 1' value='14400' /><set label='Week 2' value='19600' /><set label='Week 3' value='24000' /><set label='Week 4' value='15700' /></chart>"; var myChart = new FusionCharts("/chartsxt/Column3D.swf", "myChartId", "400", "300", "0", "1"); myChart.setXMLData(data); myChart.render("chartContainer"); var widgetData = "<chart lowerLimit='0' upperLimit='100' lowerLimitDisplay='Bad' upperLimitDisplay='Good' gaugeStartAngle='180' gaugeEndAngle='0' palette='1' numberSuffix='%' tickValueDistance='20' showValue='1'><colorRange><color minValue='0' maxValue='75' code='FF654F'/><color minValue='75' maxValue='90' code='F6BD0F'/><color minValue='90' maxValue='100' code='8BBA00'/></colorRange><dials><dial value='92' rearExtension='10'/></dials></chart>"; var myWidget = new FusionCharts("/chartsxt/widgets/AngularGauge.swf", "myWidgetId", "400", "200", "0", "0"); myWidget.setDataXML(widgetData); myWidget.render("widgetContainer"); </script> </body> </html>