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

Message ListMessage List     Post MessagePost Message

  Disable the xaxis & yaxis label
Posted by premila on Nov-19-2010 17:52
Hi,

I would like to disable the xaxis & Yaxis label.

Regards,
Prami

  Re: Disable the xaxis & yaxis label
Posted by Peter Kwan on Nov-20-2010 00:32
Hi premila,

In ChartDirector, one method to disable things by setting their colors to transparent. For example:

//disable axis and axis labels
c.xAxis().setColors(Chart.Transparent, Chart.Transparent);

As an alternative, if the labels are automatically generated by ChartDirector, you may set the label format to a space. This removes the label, but keeps the ticks and grid lines.

c.yAxis().setLabelFormat(" ");

Hope this can help.

Regards
Peter Kwan