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

LineSeriesDefinition: Plot multiple point in one step of AxisX

3 Answers 88 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Dhaval patel
Top achievements
Rank 1
Dhaval patel asked on 25 Oct 2011, 02:14 PM
Hello,

In my LineSeriesDefinition there are two SeriesMapping(High,Low).
I plot DateTime on AxisX.
But, in my data there are up-to 4 records for different time(Hours) per date.
So, i have to plot 4 points(based on time) in one step of Date.

i have set property of telerik:ChartArea.AxisX in DefaultView as:

But it will shows:
in minimize mode:
 
1.I don't want group of 1Week.
and it is solved in maximize mode.

In Maximize mode:

2. Series is started from half of the first Step area of the axis-X. In above snap for the Date 1st Oct it start from the Half.
I want to start from immediate of Axis-Y. also date must Between MinorTick Line.
Is it possible to solve it?

Thanks in advance.
Regards
Dhaval Patel

3 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 28 Oct 2011, 12:36 PM
Hello Dhaval,

To be able to have a Step on the XAxis different from 7 days (one week) you should provide your own Axis Range. For the purpose - turn off the AutoRange property and supply MinValue, MaxValue and Step for the Axis. You can find more information about this here.
As for the position of the AxisLabels - I'm not sure that I understood what you want to achieve. Could you please describe your requirements in more detail? By default the AxisX Labels are displayed Between the MajorTicks. Currently RadChart allows you to modify the layout of the XAxis to better fit the different chart types in the chart area. This is demonstrated in our help topic.

Best wishes,
Evgenia
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Dhaval patel
Top achievements
Rank 1
answered on 28 Oct 2011, 01:57 PM
Hello,
Thanks for reply

My first problem is solved.

In my second problem I wanted series should be display like LayoutMode.Normal, but Axis label(Date) should be display like LayoutMode.Between.

LayoutMode.Normal: series should started from Y-axis 
  
 
LayoutMode.Between - Date should be between


So finally it should be display like:

Thanks
0
Accepted
Evgenia
Telerik team
answered on 02 Nov 2011, 10:41 AM
Hi Dhaval,

You can keep the LayoutMode property set to Normal and customize the Axis Items Labels style so that they have either a HorizontalAlignment set to Right or bigger Left Margin. You can find more information about Styling the Axis Item Label here.

Greetings,
Evgenia
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Chart
Asked by
Dhaval patel
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Dhaval patel
Top achievements
Rank 1
Share this question
or