Simple bar chart driving me nuts

2 posts, 1 answers
  1. Paul
    Paul avatar
    9 posts
    Member since:
    Oct 2016

    Posted 29 Oct Link to this post

    HI All,

    What am l doing wrong (using the standalone designer or visual studio), as for whatever reason l cannot get the stacked bar chart to display all the data / data point labels, if l use a column chart instead then it works? See screenshots attached.

    Sample data (sql below for anyone wishing to reproduce)

    AdminDistrict   StatCount
    ===========================================
    -- Other districts --          298994
    Amber Valley                  0
    Bolsover                         0
    Chesterfield                    4 ---- this value goes missing along with all the zero's
    East Riding of Yorkshire 0
    North East Derbyshire    1002

    I have checked all settings, which are fine, if l change the scale from numeric (which) l want to logarithmic then it works, its almost as if, the range of numbers from the smallest to the largest is too great as if l reduce the max number i.e in the example above change -- other districts -- to say 700 then it works, however the data point labels still do not show the zeros like they do in the column chart.
    Anyone know whats wrong?

    Thanks in advance

    Paul

    Create Table dbo.TestData
    (
        AdminDistrict nvarchar(100) Not Null,
        StatCount     int  Not Null
    )
    Go
    Insert Into dbo.TestData (AdminDistrict, StatCount)
    Values  (N'-- Other districts --', 298994),
     (N'Amber Valley', 0),
     (N'Chesterfield', 4),
     (N'East Riding of Yorkshire',0),
     (N'North East Derbyshire', 1002)
    Go


  2. Answer
    Stef
    Admin
    Stef avatar
    3047 posts

    Posted 31 Oct Link to this post

    Hello Paul,

    Thank you for reporting the problem. It is logged in our system for improvement and your Telerik points are updated.

    Until there is a fix, we can suggest you to use a NumbericalScale with Scale.Minimum=-5 or a negative number letting zero values to appear on screen. Tested with Telerik Reporting R3 2016 SP1 v10.2.16.1025 and the provided data.

    Regards,
    Stef
    Telerik by Progress
    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
  3. DevCraft banner
Back to Top