stineco
Members-
Content count
6 -
Joined
-
Last visited
Everything posted by stineco
-
Howto fusionchart XT Multi-series chart from Database (SQL)
stineco posted a topic in FusionCharts and PHP
Hi, I am using fusionchart XT to generate charts from my MS SQL SERVER. I have no problem to get the data from my server into my charts (Bar,Pie,...) but when i wanna put data in Multi-series charts i dont now how. Can someone help my with a example. Tnx. -
Howto fusionchart XT Multi-series chart from Database (SQL)
stineco replied to stineco's topic in FusionCharts and PHP
Someone any progress or solution if there are missing values? -
Howto fusionchart XT Multi-series chart from Database (SQL)
stineco replied to stineco's topic in FusionCharts and PHP
Hi, This is the screenshot The generated code of the html file <html> <head> <title>FusionCharts XT - Column 2D Chart - Data from a database</title> <link rel="stylesheet" type="text/css" href="css/style.css" /> <!-- You need to include the following JS file to render the chart. When you make your own charts, make sure that the path to this JS file is correct. Else, you will get JavaScript errors. --> <script src="fusioncharts/fusioncharts.js"></script> </head> <body> <script type="text/javascript"> FusionCharts.ready(function () { new FusionCharts({"type":"mscolumn2d","id":"myFirstChart","width":600,"height":300,"renderAt":"chart-1","dataFormat":"xml","dataSource":'<chart caption= "Top 10 Most Populous Countries" paletteColors= "#0075c2,#00ff00,#ff00a5" bgColor= "#ffffff" borderAlpha= "20" canvasBorderAlpha= "0" usePlotGradientColor= "0" plotBorderAlpha= "10" showXAxisLine= "1" xAxisLineColor= "#999999" showValues= "0" divlineColor= "#999999" divLineIsDashed= "1" showAlternateHGridColor= "0" ><categories><category label="1-01-2003" /><category label="1-02-2003" /><category label="1-03-2003" /></categories><dataset seriesName=" Factory1 "><set value="21" /><set value="23" /><set value="22" /></dataset><dataset seriesName=" Factory2 "><set value="121" /><set value="122" /></dataset><dataset seriesName=" Factory3 "><set value="54" /><set value="56" /><set value="89" /></dataset></chart>'}); }); </script> <script type='text/javascript'> FusionCharts.ready(function () { FusionCharts("myFirstChart").render(); }); </script> <div id="chart-1">Fusion Charts will render here</div> </body> </html> -
Howto fusionchart XT Multi-series chart from Database (SQL)
stineco replied to stineco's topic in FusionCharts and PHP
The problem is that if one value is not there, the output goes wrong, the xml is created correct. The solution is that to create a <set value=''>. any help? -
Howto fusionchart XT Multi-series chart from Database (SQL)
stineco replied to stineco's topic in FusionCharts and PHP
Hi, Already a big thanks, but there is a problem, i have deleted the data from factory 2 date 1-02-2003 but when i go to the chart, factory 1,2,3 on show everything on the first date factory 1,2,3 on the show everything second date On the third date is shows only factory 1 and 3 But i have deleted one line in the output table from factory 2 (second date) Can you check this? Thanx -
Howto fusionchart XT Multi-series chart from Database (SQL)
stineco replied to stineco's topic in FusionCharts and PHP
Hi, I am using PHP. Greetz stino