The TChartListbox has an event OnAddSeries in which you can set the boolean argument ASkip to true to prevent adding a series. In my example this is already used to remove the constant lines from the ChartListBox
I already use OnAddSeries to skip some unwanted series. however, in my applications, there can be up to 8 series. The user decides at runtime what series is active. So in case he uses 4 series, only these 4 active series should be listed in ChartListBox.
is this possible?
- I have several series and some are not active. Therefore they don't appear in the legend. But when I now start the data selection mode they all appear in the legend. When I leave the selection mode the legend looks fine again. So how can i keep the legend untouched while being in selection mode.
I don't know what you are doing. Please try to reduce your project to a minimum level and post it here.
It it is attached. I also attached a screencast to show the problem: when you activate the measurement, the legend suddenly shows series that are purposely not shown in the legend.
- your solution allows to drag the TConstantLines. The problem is that the user is not aware of that feature. So what I want is that when the mouse is over a TConstantLine, the cursor changes to crSizeNS or crSizeWE, respectively. Is that possible?
I know of this limitation, but don't see a simple way to fix it (I myself did not write this part of TAChart).
OK.