This is a migrated thread and some comments may be shown as answers.

Autorange always show 0 if null data

1 Answer 55 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ifdev02
Top achievements
Rank 1
Ifdev02 asked on 03 Aug 2012, 04:50 AM
I set gap as below:
<telerikChart:RadChart.DefaultSeriesDefinition>
                    <telerikCharting:AreaSeriesDefinition EmptyPointBehavior="Gap"
                                                          LegendDisplayMode="None"
                                                          ShowItemLabels="False"
                                                          ShowPointMarks="False">
On Y I set autorange:

 <telerikCharting:ChartArea.AxisY>
                                    <telerikCharting:AxisY ExtendDirection="smart"
                                                           MajorTicksVisibility="Collapsed"
                                                           MinorTicksVisibility="Collapsed"
                                                           PlotAreaAxisVisibility="Visible"
                                                           StripLinesVisibility="Collapsed" 
                                                           AutoRange="True"
                                                           IsZeroBased="False"
                                                           
                                                           />

My work require me to show empty data so that end of day say 5 pm is show on chart.
The Y are in 1000 range, when null data at 5 pm show - my chart look straight because the scale is too wide. Because Y axis always show zero.

So far I could not find solution, if i set autorange to fault, I find it too difficult to set step min/max etc.

What could be idea here?

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 06 Aug 2012, 08:50 AM
Hello Joe,

I was not able to fully understand what is your question. I have attached a simple app to this response, it is based on your code and it works as expected. If you need further assistance I will ask that you try to explain again what you want to achieve, also please attach a snapshot of what you currently have and a drawing of some sort that depicts the results you are after.  

Regards,
Petar Marchev
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart
Asked by
Ifdev02
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or