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

Message ListMessage List     Post MessagePost Message

  Editing edgecolor for XY plotarea
Posted by jaideep on Jun-01-2012 05:04
Hi,
I am currently setting the edge color for the plotarea using this call -

chart.setPlotArea(x,y,width,height,bgColor,altBgColor,edgeColor,hGridColor,vgridColor).

This works fine and sets all 4 sides of the plotarea to the same color. Is there a way to control the individual side edge colors? Lets say i want all sides to be different colors, how do i set that ?
Please let me know if there is a way to do that.

thanks,
Jaideep.

  Re: Editing edgecolor for XY plotarea
Posted by Peter Kwan on Jun-02-2012 10:17
Hi jaideep,

If the border of the plotarea happens to have an axis, what you see if the axis color, not the plot area border color (unless the axis is configured to be transparent). For that edge, you may set the axis color to change the edge color (use Axis.setColors).

For the other edges, you may just add a straight line (using BaseChart.addLine) with any color you like to configure the edge color.

Hope this can help.

Regards
Peter Kwan