aman0711 Report post Posted August 10, 2009 Hi Experts, I want to use a solid color for the bars in Column 2D chart instead of the default color palettes (color fading towards the bottom). is it possible to do so? another question, Can I get rid of vertical and horizontal division lines in the background of chart? Share this post Link to post Share on other sites
Guest Rajroop Report post Posted August 11, 2009 Hello Aman, If you wish to use solid fills for the column (or area), you have to use the plotGradientColor attribute without any color defined for it. For example: <chart.... plotGradientColor=''.....> Also, to remove the vertical and horizontal division lines in the background of chart, could you set the divLineAlpha='0' and try again? I hope this helps. Share this post Link to post Share on other sites
aman0711 Report post Posted August 11, 2009 Thanks Rajroop :satisfied: Share this post Link to post Share on other sites
Guest Rajroop Report post Posted August 12, 2009 No Problem. You're welcome, Aman. Share this post Link to post Share on other sites
tmarko Report post Posted November 27, 2009 I think I've the same problem, but not on individual columns but I want every column to have the same color. How do I fix that?This is the code I tried to use, whatever I do with plotGradientColor I got different colors on all the columns < ChartTemplate flashName="Column2D" animation='0' baseFont="Arial" baseFontSize='10' plotGradientColor='' outCnvBaseFont='Arial' outCnvBaseFontSize='10' showAlternateHGridColor="1" dropShadows='0' shadowXShift='0' shadowYShift='0' setAdaptiveYMin='1' formatNumber='0' formatNumberScale='0' forceDecimals='0' showValues='0' canvasBorderThickness='0' chartLeftMargin='4' chartRightMargin='4' adjustDiv='0' bgColor='ffffff' canvasBorderColor='cccccc' legendShadow='0' legendBorderColor='ffffff' borderColor='aaaaaa' imageSave='1' imageSaveURL='../../FusionChartsSave.aspx?imageName=Column2D' labelDisplay='Rotate' slantLabels='1' paletteColors='FF5904'> <category font='Arial' fontSize='9' fontColor='000000' displaySerieValue='true'/>< dataset type="column" color="ff0000" parentYAxis="P" showValues='0' lineThickness='1' showAnchors='false' labelPeriodicy='1' plotGradientColor=''/></ ChartTemplate> Share this post Link to post Share on other sites
Guest Madhumita Report post Posted November 27, 2009 Hello, Welcome to FusionCharts Forum. To impart the same color on each column please use the color attribute in each of the <set> elements. You do not need to use the plotGradientColor option here. See code below: <chart > <set value='3' color='FF33FF' /> <set value='5' color='FF33FF' /> <set value='9' color='FF33FF' /> <set value='7' color='FF33FF' /> </chart> Hope this helps. Share this post Link to post Share on other sites
tmarko Report post Posted November 29, 2009 Hi Madhumita I'm new to Fusioncharts, but I populate the chart from the dB and do now how many fileds I will receive. I just want to set a common color on all the columns and don't get the default random colors I get now, how can I get that? Thanks in advance Share this post Link to post Share on other sites
FusionCharts Support Report post Posted December 5, 2009 Hi, Could you please try passing the single color to paletteColors attribute in <chart> element? If you do not want the gradient please use plotGradientColor=''. e.g. <chart plotGradientColor='' paletteColors='ff0000' > Share this post Link to post Share on other sites
Eric Schrepel Report post Posted July 15, 2010 So question: if I'm trying to disable gradients in chart by using plotGradientColor='', but I'm wanting to pass that in the SetChartParams method, it doesn't work (because we're not supposed to use single or double quotes in the parameter). So now what? Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted July 19, 2010 Hi, Please note that you cannot use "plotGradientColor=''" in the SetChartParams method. You need to set in the XML codes only. Hope this helps. Share this post Link to post Share on other sites