# LineSeries & ScatterSeries

1. ##### Alfonso
3 posts
Member since:
Aug 2013

Posted 14 Aug 2013 Link to this post

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

2. ##### Ivan Petrov
705 posts

Posted 19 Aug 2013 Link to this post

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.
3. ##### Senthil kumar
21 posts
Member since:
Sep 2013

Posted 20 Nov 2013 Link to this post

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

4. ##### Ivan Petrov
705 posts

Posted 25 Nov 2013 Link to this post

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.