|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 8/12/2009 11:22:52 PM
Posts: 4,
Visits: 9
|
|
| Hi, Is there any way to change the Color or PieChart data? In my pie chart it was showing random color but I want specific color for each part. I m using below chart data in follwing function. FusionCharts .RenderChart("../FusionCharts/FCF_Pie3D.swf", "", strXML, "FactorySum", "400", "270", false, false);<graph showPercentageInLabel='1' pieSliceDepth='25' decimalPrecision='0' showNames='1' > <set name='Art' value='1' /> <set name='Drama' value='41' /> <set name='English' value='8' /> <set name='Geography' value='6' /> </graph>
NIkunj Ganatra
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: 9/6/2010 4:45:29 AM
Posts: 1,710,
Visits: 2,605
|
|
Hello Nikunj,
Welcome to FusionCharts Forum. 
The colour attribute is specified by color="HexCode" in the concerned <set> element.
Example: <set name='Art' value='1' color='636363' ...>
This attribute determines the color for the concerned set of data in which it would appear in the graph.
I hope this helps.
Regards,
Rajroop Bhaduri
FusionCharts Team
Follow us @Twitter
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 8/12/2009 11:22:52 PM
Posts: 4,
Visits: 9
|
|
Thank you vey much, your solution has done great work for me.
NIkunj Ganatra
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: 9/6/2010 4:45:29 AM
Posts: 1,710,
Visits: 2,605
|
|
Hello Nikunj,
You are always welcome. 
Happy FusionCharting.
Regards,
Rajroop Bhaduri
FusionCharts Team
Follow us @Twitter
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 9/22/2009 11:27:06 AM
Posts: 4,
Visits: 5
|
|
| Is there a way to configure color if one is using the DataXML method? The chart returns random colors, but I would like to set a few colors that the Chart can either use or choose from.
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: 4/23/2010 11:38:57 AM
Posts: 1,434,
Visits: 1,631
|
|
| Hello, There is a way to configure color if one is using the DataXML method.
There are two alternatives: 1. You can add the paletteColors attribute in the <chart> element. Using paletteColors attribute, you can specify your custom list of hex colors for the data items. The list of colors have to be separated by comma : e.g., <chart paletteColors='FF0000,0372AB,FF5904...'>. The chart will cycle through the list of specified colors and then render the data plot accordingly. 2. You can directly add the color attribute to the <set> element. If you want to define your own colors for the data items on chart, use this attribute to specify color for the data item. This attribute accepts hex color codes without #. e.g <set color='FF4433'....> Hope this helps. 
Regards, Madhumita Chakraborty
Follow us on Twitter
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 9/22/2009 11:27:06 AM
Posts: 4,
Visits: 5
|
|
| Is the 'chart' xml valid in the free version? I try and it does nothing.
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: 4/23/2010 11:38:57 AM
Posts: 1,434,
Visits: 1,631
|
|
| Hi Nikunj, You are right. The <chart> element is not supported by FusionCharts Free.It supports the <graph> element. FusionCharts Free does not have the paletteColors attribute.
Thus, if you opt to avail the paletteColors attribute to choose from a specified set of colors, you can consider downloading the FusionCharts Trial(Evaluation ) Package from the following link: http://www.fusioncharts.com/download.asp
FusionCharts Trial is a no-restriction evaluation of the actual component i.e., there are no days and feature limitations in this trial. The only difference is that in the trial version charts, "FusionCharts" and "InfoSoft Global" imprints would be present on the charts. Once you purchase a license, these imprints would be automatically removed.
Regards, Madhumita Chakraborty
Follow us on Twitter
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 3/8/2010 2:36:50 AM
Posts: 8,
Visits: 14
|
|
I'm having troubles with paletteColors attributes. I'm trying it with the pie3d example chart under gallery directory.
I have set the xml code like this:
chart paletteColors='00FF00,FF0000,000000' decimals='0' enableSmartLabels='1' enableRotation='0' bgColor='99CCFF,FFFFFF' bgAlpha='40,100' bgRatio='0,100' bgAngle='360' showBorder='1' startingAngle='70' >
But the colors don't change.
What I'm doing wrong?
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: Today @ 12:11:29 AM
Posts: 2,223,
Visits: 2,468
|
|
| Hi, Could you please specify us the version of the FusionCharts that you are using? Awaiting your reply. 
Regards,
Basundhara Ghosal
Follow us on Twitter
|
|
|
|