Jump to content
Software FX Community

Histogram X axis labels


User (Legacy)

Recommended Posts

Hi,

I am creating a histogram chart with Chart FX statistical extension.

I have 20 intervals, X axis data are from -1 to 1 (DataMin=-1, DataMax=1).

X axis labels for every interval (-1; -0,9; -0,8, -0,7; ...) should be

visible.

By default on X axis are shown labels -1, 0, 1 only.

I tried to set X axis step to 0,1 but that does not work.

Is it possible to show X axis labels with step=0,1 ?

Regards, Vita

Link to comment
Share on other sites

Thanks! My ChartFx version does not have property AxisX2, but it worked with 

Axis[3].LabelsFormat.

I have two more questions on histogram type.

1. How to make area bellow Normal curve filled with white color?

2. Is it possible to show interval labels (-1, -0,9, -0,8, ....) as headers

in DataEditor (by default are shown interval numbers - 1, 2, 3, ...)?

Regards,

Vita

Link to comment
Share on other sites

> 1. How to make area bellow Normal curve filled with white color?

The color for the series is used with a transparency applied to it. This

color can not be control independently of the series (bars) color.

> 2. Is it possible to show interval labels (-1, -0,9, -0,8, ....) as

> headers in DataEditor (by default are shown interval numbers - 1, 2, 3,

> ...)?

You can assign X-Axis labels to display in the Data Editor as follows:

chart1.AxisX.Label[0] = "L1";

chart1.AxisX.Label[1] = "L2";

chart1.AxisX.Label[2] = "L3";

...

You can make them match your intervals by assigning the appropriate strings.

Or you may chose to not show column headers in the data editor by doing:

chart1.DataEditorObj.ShowHeader = false;

--

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...