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

Message ListMessage List     Post MessagePost Message

  ContourLayer use my color?
Posted by gdkevin on Jul-10-2009 08:31
how can i use my color for the special data ?
like 0 use white,other use ColorAxis.

  Re: ContourLayer use my color?
Posted by Peter Kwan on Jul-11-2009 02:23
Hi gdkevin,

In a CoutourLayer, the z = 0 is represent as a coutour line. So I assume you would like to have a white contour line at z = 0. This can be achieved using:

//layer = ContourLayer object
//the z = 0 contour line is set to white
layer->colorAxis()->addMark(0, 0xffffff);

Hope this can help.

Regards
Peter Kwan

  Re: ContourLayer use my color?
Posted by gdkevin on Jul-11-2009 13:54
thanks

problem is solving