blonde Report post Posted March 7, 2011 I'm a newbie here and I use FusionCharts V3 for an ongoing project. I am very happy with the engine but I still have an important, perhaps a stupid question. I only use database driven charts an now i want to change the colors of the chart elements/datasets like bar, column, line whatever. No problem with a simple hard-coded xml structure but how can I achieve this in a DB chart? Can i change without coding or do i create a new xml-structure after the database query. For your help I would be very grateful ! best regards Tom Share this post Link to post Share on other sites
Guest Angie Report post Posted March 8, 2011 Hi, Welcome to FusionCharts Forum! You would need to change the color in the XML code. For more details, please refer to the link: http://www.fusioncharts.com/docs/?AttDesc/DataPlot.html Hope this helps. Share this post Link to post Share on other sites
blonde Report post Posted March 8, 2011 Hi, Welcome to FusionCharts Forum! You would need to change the color in the XML code. For more details, please refer to the link: http://www.fusioncha...c/DataPlot.html Hope this helps. Share this post Link to post Share on other sites
blonde Report post Posted March 8, 2011 Hi, thank your for your fast answer but i know this kind of style. My problem ist, i don´t know how i can design the colors of series datsets like this: <dataset seriesName='2010' color='000080'> <set value='6.14' /> <set value='3.98'/> <set value='4.94' /> <set value='13.36' /> <set value='16.02' /> <set value='25.49' /> <set value='30.06' /> </dataset> But i don´t have a structure like this. Here is my header but i think, it is not the way to design different seriesNames. <chart legendPostion='' caption='Anteil der Branchen am Gesamtvertragsbestand - PK absolut (%) ' subCaption='2003 - 2010' xAxisName='Zeitraum' outCnvBaseFont='Arial' yAxisName='Prozent(%)' bgSWF='chart_back.jpg' showValues='0' exportEnabled='1' exportAction='Save' exportAtClient='0' exportHandler='../ExportHandler/FCExporter.php' formatNumberScale='0' rotateValues='1' divLineColor='bfbfbf' outCnvBaseFontSize ='12' plotGradientColor='' animation=' " . $animateChart . "'>"; I use a multi-series-chart with two functions to build datasets and categoeries. Please look at: http://www.fusioncharts.com/docs/?AttDesc/DataPlot.html Please Help ! Thank your for your support ! Share this post Link to post Share on other sites