Prevent RadChart from Inserting Intermediate Decimal Values on Small Series

Thread is closed for posting
2 posts, 0 answers
  1. Kevin
    Kevin avatar
    2 posts
    Member since:
    Mar 2011

    Posted 09 May 2011 Link to this post


    I have a chart that can have small values, say 1 or 2, but it can go up to the hundreds as well. This is dynamic total data and there is no defined upper limit to this, but they are all integer. I've noticed that for these small values, the RadChart seems to insert some intermediate values into the series even if there are no such values in the DataTable datasource. Is there a way to prevent RadChart from doing this?

    Attached is a sample screenshot of the intermediate values inserted. Only the value 2 is set in the datasource, we can live with the value "1" but none of those having decimal places. Any assistance on this would be greatly appreciated. Thanks!
  2. Gimmik
    Gimmik avatar
    170 posts
    Member since:
    May 2011

    Posted 09 May 2011 Link to this post

    He Kevin,

    This should be fairly simple. Here are the settings to manually configure the X-Axis.

        <XAxis AutoScale="False" MaxValue="4" MinValue="1"

    I would use something like that to ensure that you don't get intermediate values. I assume you're trying to avoid fractional values. The X-axis needs to be linear, but you can probably use a few Scale Breaks if your data is very sparse. Scale breaks are only available for the Y-Axis, but you should be able to flip your chart. Here is the documentation on scale breaks:

    Hope this helps!
  3. DevCraft R3 2016 release webinar banner
Back to Top