Set axis labels in 10th power.
Posted: Tue Sep 25, 2018 1:20 pm
Hi Steema,
We are facing one problem that is when we set axis labels in 10th power then labels values are not showing correct.
We have created plot in which we have set bottom axis Logarithmic. The minimum and maximum value of bottom axis are 0.1 and 100 respectively.
Case1
When we set label format in exponential then labels of bottom axis shown in below figure:
tChart1.Axes.Bottom.Labels.ValueFormat = " 0.####E+0";
Case2
When we want to show the bottom axis labels in 10th power.
for this we have set following properties
tChart1.Axes.Bottom.Labels.Exponent = true;
tChart1.Axes.Bottom.Labels.ValueFormat = "00e0";
But here in above figure, the labels of bottom axis are not showing correct values label.
Currently it is showing following labels: 10¯², 10¯¹, 10⁰, 10¹.
But the correct labels value should be: 10¯¹, 10⁰, 10¹, 10².
So we can see here the deference of multiply of 10 in all labels value.
Case3
Now we changed value format:
tChart1.Axes.Bottom.Labels.Exponent = true;
tChart1.Axes.Bottom.Labels.ValueFormat = "# "x10" E+0”;
then values are showing correct as shown in below figure:
But here we want to show labels in 10th power like case2.
So kindly assist us to give the solution.
Thanks & regards
PlanoResearch
We are facing one problem that is when we set axis labels in 10th power then labels values are not showing correct.
We have created plot in which we have set bottom axis Logarithmic. The minimum and maximum value of bottom axis are 0.1 and 100 respectively.
Case1
When we set label format in exponential then labels of bottom axis shown in below figure:
tChart1.Axes.Bottom.Labels.ValueFormat = " 0.####E+0";
Case2
When we want to show the bottom axis labels in 10th power.
for this we have set following properties
tChart1.Axes.Bottom.Labels.Exponent = true;
tChart1.Axes.Bottom.Labels.ValueFormat = "00e0";
But here in above figure, the labels of bottom axis are not showing correct values label.
Currently it is showing following labels: 10¯², 10¯¹, 10⁰, 10¹.
But the correct labels value should be: 10¯¹, 10⁰, 10¹, 10².
So we can see here the deference of multiply of 10 in all labels value.
Case3
Now we changed value format:
tChart1.Axes.Bottom.Labels.Exponent = true;
tChart1.Axes.Bottom.Labels.ValueFormat = "# "x10" E+0”;
then values are showing correct as shown in below figure:
But here we want to show labels in 10th power like case2.
So kindly assist us to give the solution.
Thanks & regards
PlanoResearch