ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  GradientColor for Bar/Column
Posted by JC on Dec-08-2008 23:42
Using your "Borderless Bar Chart" example.

In your example you specify the start and end color as &H008000, &Hffffff.  If you look at the example "Flash Light" shows the start and end color.  "Bastic Group", base on value only shows the start color.

Is there a way to individualize each chart chart item gradient color?  To show "Bastic Group" the start and end color for gradient as well as "Flash Light".

  Re: GradientColor for Bar/Column
Posted by Peter Kwan on Dec-09-2008 02:52
Hi JC,

If you just want a "localized gradient" for each bar, you may use the "Soft Lighting" effect. For example:

Dim layer As BarLayer = c.addBarLayer(data, &H00cc00)
layer.setBorderColor(Chart.Transparent, Chart.SoftLighting(Chart.Left))

Hope this can help.

Regards
Peter Kwan