Rearranging axis labels
Posted: Wed Sep 27, 2017 3:23 pm
I have a bar chart using TDragPointTool. I have assigned an event for the DragEnd and capture where the use placed the bar. From this, I rearrange all the bars in the new order, spaced evenly by changing the point XValue. I then need to change the bottom axis labels to match. The labels were initially set using BottomAxis.Items.Add(). I can shuffle them fine using BottomAxis.Items[x].Text were x is the original order I had them in. However, if the user has zoomed in, the axis is a subset of the original. How can I access the original label list so they are correct at any zoom?