remove gradient from area chart
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



remove gradient from area chart Expand / Collapse
Author
Message
Posted 9/2/2008 1:41:58 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/15/2008 12:33:00 PM
Posts: 4, Visits: 14

 I am using the draggable area chart. How do I remove the gradient from this area chart? This is my exact xml:

<chart palette='1' caption='Please estimate product sales for 2007, 2008 &amp; 2009' subcaption='Drag the anchors (markers) to adjust data'
showvalues='0' xAxisName='Year' yAxisName='Units' restoreBtnBorderColor='A2A3A0' formBtnBorderColor='A2A3A0' canvasPadding='20'
dragBorderThickness='3' formAction='DataHandler.html'  yAxisMaxValue='100'>
 <categories>
  <category name='2005 (Actuals)' />
  <category name='2006 (Actuals)' />
  <category name='2007 (Predicted)' />
  <category name='2008 (Predicted)' />
  <category name='2009 (Predicted)' />
 </categories> 
  <dataset id='IJ' seriesName='Critical'  alpha='80'  color='FF0000' anchorAlpha='0' showPlotBorder='1'  plotFillAlpha='100' plotFillColor='FF0000'>
  <set id='IJ2005' value='100' allowDrag='0' />
  <set id='IJ2006' value='100' allowDrag='0' />
  <set id='IJ2007' value='100' allowDrag='0' />
  <set id='IJ2008' value='100' allowDrag='0' />
  <set id='IJ2009' value='100' allowDrag='0' />
 </dataset>
 <styles>
  <definition>
   <style name="myCaptionFont" type="font" font="Arial" size="14" bold="1" />
   <style name="mySubCaptionFont" type="font" font="Arial" size="10" bold="0" />
  </definition>
  <application>
   <apply toObject="Caption" styles="myCaptionFont" />
   <apply toObject="SubCaption" styles="mySubCaptionFont" />
  </application>
 </styles>
</chart>

Post #8302
Posted 9/3/2008 12:49:20 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 8:03:52 AM
Posts: 625, Visits: 1,912
Hi,
Could you please use plotGradientColor='' ?


Thanks,
Arindam

FusionCharts Team
www.fusioncharts.com

Post #8307
Posted 9/3/2008 11:13:36 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/15/2008 12:33:00 PM
Posts: 4, Visits: 14
Thanks for the reply. So I added plotGradientColor='FF0000' as an attribute of the dataset element, but it didn't make a difference.
Post #8318
Posted 9/4/2008 12:43:10 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 8:03:52 AM
Posts: 625, Visits: 1,912
hi,

 could you please use as chart element

i.e

<chart plotGradientColor='' >

Thanks,
Arindam

FusionCharts Team
www.fusioncharts.com

Post #8330
Posted 9/4/2008 11:49:58 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/15/2008 12:33:00 PM
Posts: 4, Visits: 14

Sorry, I should have been more detailed about what I was trying to do. I used the plotGradientColor as an attribute of the chart element and it worked. However, if I added another dataset to the area chart, then the second dataset will also use the color specified for the plotGradientColor. I don't want any gradients for this area chart at all. Is this possible? I attached a screenshot of the area chart with two datasets. I tried copying the xml here but it wouldn't encode it right. It's pretty much the first post's xml with a second dataset.


  Post Attachments 
gradientarea.jpg (47 views, 9.26 KB)
Post #8345
Posted 9/5/2008 12:46:27 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 7:43:49 AM
Posts: 880, Visits: 1,415
Hi,

We found that you had been using one dataset in the first XML that you sent us.

The new image shows that it has 2 datasets.

Hence, could you please send us the XML that you are using?

Please note that to set off the dataplot gradient you should provide no value or blank value in atribute plotGradientColor in <chart> element. The attribute should look lexactly like this with no value inside.

plotGradientColor=''

Regards,

Sudipto Choudhury
FusionCharts Team

Post #8361
Posted 9/8/2008 11:56:05 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/15/2008 12:33:00 PM
Posts: 4, Visits: 14

Hi, Thanks for helping me solve the gradient problem, no more gradients yay! However, there's a different problem where I want to only show the top plot border of a dataset.
I attached the xml and screenshot of the draggable area chart. Notice how there's the dark thick plot border around the entire area of the dataset labeled 'Actual'. I'd like to just show the top plot border, so it would simulate a line.


  Post Attachments 
draggableareachart.bmp (16 views, 730.18 KB)
DragArea1.xml (3 views, 3.39 KB)
Post #8394
Posted 9/12/2008 5:45:58 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: Today @ 8:20:12 AM
Posts: 2,194, Visits: 521
I'm afraid this is not currently possible with FusionCharts.

Thanks,
Pallav Nadhani
FusionCharts Team