Jump to content
Software FX Community

Decimal points in pointlabels


User (Legacy)

Recommended Posts

There are two properties in the Axis object:

Axis.LabelsFormat:

Controls how the Axis Labels look

Axis.DataFormat:

Control how the labels look in the point labels, data grid and tool-tip. By

default this is inherited from LabelsFormat but once you set

Axis.DataFormat, then you can have separate settings for Axis labels and

Point labels. For example:

chart.AxisY.DataFormat.Decimals = 2;

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Many thanks - I had tried that..just used the wrong Axis and kept 

looking...cripes!

"Software FX" <noreply@softwarefx.com> wrote in message

news:qfZkZuMFHHA.1948@webserver3.softwarefx.com...

> There are two properties in the Axis object:

>

> Axis.LabelsFormat:

>

> Controls how the Axis Labels look

>

> Axis.DataFormat:

>

> Control how the labels look in the point labels, data grid and tool-tip.

> By default this is inherited from LabelsFormat but once you set

> Axis.DataFormat, then you can have separate settings for Axis labels and

> Point labels. For example:

>

> chart.AxisY.DataFormat.Decimals = 2;

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...