in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Limit number of output points in Line Chart

Last post 11/11/2008 2:21 AM by Nick Walkovskiy. 4 replies.
Page 1 of 1 (5 items)
Sort Posts:
Previous Next
  • 11/6/2008 3:35 AM

    Limit number of output points in Line Chart

    Hello.

    I've a chart with few Line series bound to DataSource. Works fine for small data amounts, however the problem appears when there is a lot of data to display. Chart becomes flooded with points, and it becomes imposible to see anything. I guess there should be some kind of option to skip few intermediate values to the point where chart is easy to read.

    Thats probaly basic question, but I couldnt find solution myself.

    Thanks.

    Nick

  • 11/6/2008 7:23 AM In reply to

    Re: Limit number of output points in Line Chart

    Hello Nick,

    There is an example which I would recommend you to try: http://www.devexpress.com/example=E452. Also, you can use the PointSeriesLabel.OverlappingOptions.ResolveOverlapping property, as it may be helpful in some cases.

    Does this meet your needs?

    R&D, .NET Team.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/sc.
  • 11/6/2008 10:01 AM In reply to

    Re: Limit number of output points in Line Chart

     

    Hi George, thanks for reply.

     

    Unfortunatly, your advices did not help.  As I understand, both code examples are for removing Point labels. It doesnt help me, because I dont use point labels, so thats not a problem.

    My chart becomes flooded with points. (Look at example in attachment)

    I want it to be readalbe (for example it can be done by showing only every 3rd point, or every 4th and so on). Is there option for that ?

     


  • 11/7/2008 7:33 AM In reply to

    Re: Limit number of output points in Line Chart

    Answer

    Hi Nick,

    Thank you for providing the picture. Now, your task is much clearer to me. You can do the following:

    First, change the Qualitative argument scale type to DateTime, to get a more distinct performance of X-axis labels.

    As for data points, you should filter data at a datasource's level (by an appropriate SQL query), or by using a custom summary function.

    Hope this helps you!

    R&D, .NET Team.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/sc.
  • 11/11/2008 2:21 AM In reply to

    Re: Limit number of output points in Line Chart

    Hello George, thanks, that helped.

Page 1 of 1 (5 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED