Hi
Iam having trouble being able to assign a min and max value to my x axis. I have read multiple posts stating that you must set the following to enable you to define a min and max value which i define is server side code (vb.net):
XAxis.AutoScale = False
XAxis.MinValue = 1
XAxis.MaxValue = 120
XAxis.Step = 10
I have also tried using this instead of the above:
XAxis.AutoScale = False
XAxis.AddRange(1, 120, 10)
This is my mark up:
I define a datasource using a list of my custom objects which has 2 decimal values (depth - for the x axis, value - for y axis) and then i databind it.
My current list has 3 items,
Item 1: depth 1, value 50
item 2: depth 2, value 10
item 3: depth 3, value 30
Attached is the results:
I would like the xaxis (note horizontal series orientation - so the left axis) to display min value 1 and max value 120. How can i achieve then, what am i missing?
Cheers
Richard.
Iam having trouble being able to assign a min and max value to my x axis. I have read multiple posts stating that you must set the following to enable you to define a min and max value which i define is server side code (vb.net):
XAxis.AutoScale = False
XAxis.MinValue = 1
XAxis.MaxValue = 120
XAxis.Step = 10
I have also tried using this instead of the above:
XAxis.AutoScale = False
XAxis.AddRange(1, 120, 10)
This is my mark up:
<
telerik:RadChart
ID
=
"RadChart1"
runat
=
"server"
Height
=
"100px"
Width
=
"180px"
ChartTitle-Visible
=
"false"
Legend-Visible
=
"false"
SeriesOrientation
=
"Horizontal"
>
</
telerik:RadChart
>
I define a datasource using a list of my custom objects which has 2 decimal values (depth - for the x axis, value - for y axis) and then i databind it.
My current list has 3 items,
Item 1: depth 1, value 50
item 2: depth 2, value 10
item 3: depth 3, value 30
Attached is the results:
I would like the xaxis (note horizontal series orientation - so the left axis) to display min value 1 and max value 120. How can i achieve then, what am i missing?
Cheers
Richard.