1 Reply Latest reply on Jul 9, 2007 1:44 AM by Oddsy

    displaying a selected range within bar chart

    dnapoleoni
      ok, it's a bit hard to explain, but -

      I've got a chart that is bound to an dual-slider hSlider control which controls the min and max values of each axis. The problem I am having is that when the slider is set to display a range that is lower than the value of a bar, it disappears. For example, I have ten values at ten-point increments, from 0 to 100. If I select to view 30 - 80 on the slider, 0, 10 and 20 disappear, but so do 90 and 100. I want to make it so that If the bar is above the highest value, you still see the body of the bar but not the top of it. Sort of like you're zooming in to the chart and can only see a section of the bars selected, but the top of the higher ones is off screen at the top.

      I think there's a function that lets you only view a section of the chart, but I can't remember the name of it and the flex docs are crappy and i can't find anything googling so that's why I'm here.