# Fixed Axis 0

ChartView Top achievements Rank 1
Bárbara asked on 12 Feb 2016, 07:22 PM

I have a LogarithmicAxis that has a minimum of 125 and maximum of 16000 but I need it to start at 0 and then go to 125,250... But as it is Logarithmic, if I put minimum to 0 I will have 0, 2,4...

How can I achieve this?

## 1 Answer, 1 is accepted

0 Petar Marchev
Telerik team answered on 17 Feb 2016, 08:56 AM
Hi Bárbara,

In order to have labels 125, 250, 500, ..., you need to set a Minimum of 125 and a LogarithmicBase of 2. Having a zero on the logarithmic axis, however, is a no go. This is simply because a zero is an undefined value for the logarithmic axis.

The labels of the axis, simply put, are 125 * (base^pow). In your case
125 = 125 * 1     // 1 == 2^0
250 = 125 * 2     // 2 == 2^1
500 = 125 * 4     // 4 == 2^2
1000 = 125 * 8     // 8 == 2^3

And because you cannot get a 0 from 2^x, the 0 is undefined for the logarithmic axis. Let us know if you need more information.

Regards,
Petar Marchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ChartView  Rank 1  