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

LineSeries & ScatterSeries

3 Answers 124 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Alfonso
Top achievements
Rank 1
Alfonso asked on 14 Aug 2013, 05:32 PM
I'm working in a chart to display kms(x axis) vs. voltage (y axis) in Linear Series, and kms (x axis) vs.% (y axis) in scatter Series, Obviusly the 2 series must share the same X axis.
If i set X axis as LinearAxis, the LineSeries is not showing, but if i set Xaxis as Categorical Axis, the ScatterSeries is not showing.
Is there any way to make 2 diferent Series work in the same X linearAxis?

NOTE. i'm generating the chart in runtime

thanks in advance

3 Answers, 1 is accepted

Sort by
0
Ivan Petrov
Telerik team
answered on 19 Aug 2013, 10:43 AM
Hi Alfonso,

Thank you for writing.

For your line series you can use the ScatterLine series which we introduced with our 2013 Q1 release. They are plotted against two linear axes as the Scatter series. You can read more in our online documentation - ScatterLine series.

I hope this is useful. Should you have further questions, I would be glad to help.

Regards,
Ivan Petrov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Senthil kumar
Top achievements
Rank 1
answered on 20 Nov 2013, 02:43 PM
same scenario iam facing what Alfonso mentioned..
I'm working in a chart to display dateTime value (x axis dateTimecontinousAxis) vs. voltage (y axis - linear axis) in  Line Series, and relative time (integer value) (x axis-categorical Axis) vs.% (y axis) in line Series, Obviusly the 2 axes must share the same series. (x-axis will be changed when radio button (absolute time, relative time) changed.

both x-axis is working correctly. but, x-axis shows defaut CartesianPlotBandAnnotation draw the annotation from -> to plot value. (for example relative time interger value... 1.343, 2.343 as it is the plot value). i cannot format the value like whole integer (0, 2, 4).


so, i have changed to scatterline series instead of line series and categorical axis as x-axis instead of linear axis. (as per one of colleague suggestion)

 now the datetimecontinous axis is not support the scatterlineseries. (linearaxis  supports the scatter series).


NOTE. i'm generating the chart in run time

thanks in advance
0
Ivan Petrov
Telerik team
answered on 25 Nov 2013, 12:15 PM
Hi Senthil,

Thank you for writing.

The axes of RadChartView have a defined type of the values they can display. You cannot mix these values. For your case it looks like you have two separate charts. One is with DateTimeContinuous X-axis and Linear Y-axis. The other is with Categorical X-axis and Linear Y-axis. Although the two Y-axes are Linear they show data in different dimension (one is voltage the other is percentage). For this setup you would need a multi-axis chart setup. You can find more info on how to create multi-axes chart in our online documentation.

On your second concern the scatter series are plotted against two linear axes, while the other cartesian series are plotted against a linear and a categorical axis. Date time axes are also categorical.

I hope this clears things up. If you need further information, I would be glad to provide it.

Regards,
Ivan Petrov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ChartView
Asked by
Alfonso
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Senthil kumar
Top achievements
Rank 1
Share this question
or