StockChart Continuous Line as Zoom & Pan

2 posts, 0 answers
  1. Brett
    Brett avatar
    3 posts
    Member since:
    Jun 2014

    Posted 27 Jun 2014 Link to this post


    I have been trying to figure out  solution that will work with my data. A StockChart has been working very well for right now but my data can be inconsistant with the days. Sometimes there will be two points hours apart, sometimes there will be two points days apart. As result of this, as you zoom into the StockChart, there won't always be data points for a day(s). The current view of this is that the line chart creates a gap from the edge of the graph to the first data point of that specific view. I wish for the line to be continuous at all points even if there is no data. In other words, it is a stepped line chart, and I want the value to maintain until it is changed, so that there is always a line as you continue to zoom. Is there a setting to achieve this?
  2. Iliana Nikolova
    Iliana Nikolova avatar
    2570 posts

    Posted 01 Jul 2014 Link to this post

    Hello Brett,

    I believe setting the series.missingValues option to "interpolate" should help to achieve the expected result:  
    .Series(series =>{
       series.Line(s => s.Low).MissingValues(ChartLineMissingValues.Interpolate);

    Iliana Nikolova

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. UI for ASP.NET AJAX banner
Back to Top