Dynamic number of BarSeries in Graph

2 posts, 0 answers
  1. Richard
    Richard avatar
    9 posts
    Member since:
    Aug 2012

    Posted 19 Sep 2014 Link to this post

    Hi,

    I'm trying to implement a dynamic graph with BarSeries, where I do not know how many bars I really have at design time. I add 10 bars programmatically and indicate with the help of an caption, if a bar should be shown or not. But if I set a bar as not visible, there is a gap between the bars.

    Is it possible to totally remove the bar from the graph at runtime, when the caption is NULL?
  2. Hinata
    Hinata avatar
    146 posts
    Member since:
    Dec 2013

    Posted 23 Sep 2014 in reply to Richard Link to this post

    Hi Richard,

    Note it is possible to filter the data which is coming through the Graph data source at run-time, before displaying the report in the viewer.

    From your explanation I imagine that the bar is still taking up space even though it is not visible. Thus, there is a gap between the bars and you cannot avoid that. Maybe an example of what you are doing may clear up the scenario and help us to come to a better solution.
Back to Top