Populate RadChart with real time data

5 posts, 0 answers
  1. Zik
    Zik avatar
    4 posts
    Member since:
    May 2015

    Posted 25 May 2015 Link to this post

    I have RadChart that populated with real time data.

    private Random random;
    private DataSeries series;

    This is my RadChart configuration:

    rcStatistics.Background = Brushes.Transparent;
    rcStatistics.BorderBrush = Brushes.Transparent;
    rcStatistics.DefaultView.ChartLegend.Visibility = System.Windows.Visibility.Collapsed;
    rcStatistics.DefaultView.ChartArea.AxisX.Visibility = System.Windows.Visibility.Hidden;
    rcStatistics.DefaultView.ChartArea.AxisY.Visibility = System.Windows.Visibility.Hidden;

    My chart is populated with real time data via timer, this is my timer tick event:

    int val = random.Next(0, 100);
    series.Add(new DataPoint(val));
    rcStatistics.DefaultView.ChartArea.DataSeries.Add(series);

    Please see my attach screenshot:

    1. How can i remove value label ?

    2. How can i remove the upper and the lower 2 stripes that i have on my chart ?

    3. As you can see my chart series line is fill only half of my chart and this is how it is all the time and in additional after adding few points into my chart my application is stuck and become more slow, why this is happening and how can i fix it ? 

     

     

  2. Zik
    Zik avatar
    4 posts
    Member since:
    May 2015

    Posted 25 May 2015 Link to this post

    All i want to achieve is looking like the attach file. 
  3. UI for WPF is Visual Studio 2017 Ready
  4. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 27 May 2015 Link to this post

    Hi,

    We have two charting solutions at this time - the old RadChart and the new RadChartView. The old RadChart does not have a very good performance and has many limitations and this is why we suggest you do not use it at all for new development. I suggest you completely remove the Charting.dll reference. We suggest you use the new RadChartView, which is a set of controls - RadCartesianChart, RadPieChart, RadPolarChart, ChartDataSource. It is much faster, very flexible and easy to set up. References below:
    online qsf examples
    online documentation
    sdk samples

    Regards,
    Petar Marchev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. Zik
    Zik avatar
    4 posts
    Member since:
    May 2015

    Posted 27 May 2015 in reply to Petar Marchev Link to this post

    Any place where i can download the Live date solution for start learning ?

    http://demos.telerik.com/silverlight/#ChartView/LiveData

  6. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 28 May 2015 Link to this post

    Hi,

    If you have installed our controls you may already have the QSF installed on your PC. You can install the demos from this link.

    Regards,
    Petar Marchev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready