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

StepLine series

8 Answers 223 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Alexandre
Top achievements
Rank 1
Alexandre asked on 29 Feb 2012, 06:07 PM
Hello,

Is there some way to plot Stepline series and Line series on the same graph ? I have a cartesian chart with several line and area series and I would like to add stepline serie without modifying my data (e.g. without adding a Y value at each X to have the constant line). 

Another question, is it possible to change the base line of an area series so that color fill stops at a specific Y value ? 

8 Answers, 1 is accepted

Sort by
0
Accepted
Peshito
Telerik team
answered on 05 Mar 2012, 09:42 AM
Hello,

Currently RadChartView does not support StepLine series type. However It is in our plans to implement it and I cannot give you a specific timeframe when it will be supported.

Regarding your other question. What you have described sounds like a range series. If this is so, it is also in our future plans and it is not supported at that moment. As a workaround you could try using two stacked area series and set the color of the first one to be transparent.

Also, while it is true that we would encourage you to use our new RadChartView control for your new development, we would also like to note that currently you should do so based on the specific project requirements you have as the feature sets provided by both controls differ to some extent.

Regards,
Peshito
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Alexandre
Top achievements
Rank 1
answered on 05 Mar 2012, 10:11 AM
Hello,

Thank you for your answer. I expected that stepline and range series were not implemented yet, I was just looking for an alternative way to do the same job until then. 

So, regarding the StepLine problem, please let me know when you will know about a release date. I am currently using LineSeries on a customized data set to mimic StepLine but, obviously, it would be better directly with StepLine series.

About the range series, I will give it a try thanks. 

Actually, the previous version of my application used Charts instead of ChartViews but memory usage was unacceptably high for this kind of use with Charts. With ChartViews it is much more acceptable. :)

0
Peshito
Telerik team
answered on 07 Mar 2012, 09:14 AM
Hello Alexandre,

You are welcome.

The StepLine and Range series types are not in the roadmap for the Q2 release, however we haven't finilized the Q3 release roadmap, so a I cannot commit with a certain time frame when both series types will be implemented. You can follow the release notes and roadmap announcements for more details.

Regarding the ChartView performance it is designed with performance in mind and I am glad you are pleased with the results.

Regards,
Peshito
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Iker
Top achievements
Rank 1
answered on 14 Jan 2013, 08:10 AM
Hello,

Finnally StepLines are supported in Carteasian Chart with Q3 release ?


Thanks,

Iker
0
Peshito
Telerik team
answered on 16 Jan 2013, 12:48 PM
Hello Iker,

As StepLine series type is not supported you can easily make a similar series by yourself. You will only need to create two CategoricalDataPoints for one data item. I have attached a small example, showing this approach. The data stays intact, while the chart gets more datapoints to form a stepline.

Hope this helps.

All the best,
Peshito
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Heath Morris
Top achievements
Rank 2
answered on 04 Apr 2013, 09:41 PM
I was recently tasked with creating a stepline from this control and wanted to share some knowledge on how to get the labeling and datamarkers correct. Let me know if you find a better way please.

I have created an example for adding the pointlabels and pointmarkers modified from Peshito's example.

SteplineExampleAdvanced
0
Peshito
Telerik team
answered on 09 Apr 2013, 07:47 AM
Hello Heath Morris,

I am glad you found the workaround for creating a stepline chart useful.

Thank you for sharing your improvements with us. You did a great job with it.

Regards,
Peshito
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
alpha-bit
Top achievements
Rank 1
answered on 26 Sep 2017, 02:22 PM

I just stumbled upon this thread searching for a way to implement a Step Line Chart.

Just to inform anyone else who might be searching for a solution:

There is now a StepLineSeries available in Telerik. So you do not have to use above mentioned workarounds.

<telerik:StepLineSeries>
    ...
</telerik:StepLineSeries>
Tags
ChartView
Asked by
Alexandre
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Alexandre
Top achievements
Rank 1
Iker
Top achievements
Rank 1
Heath Morris
Top achievements
Rank 2
alpha-bit
Top achievements
Rank 1
Share this question
or