IDE: c++ Builder XE5 Update 2
TeeChart: TeeChart Pro 2014.11.140512 VCL/FMX release
I utilized TeeChart's TLegendScrollBar tool for the first time recently(handy tool).
The issue I have come across:
When clicking on one of the scroll-arrows the following happens:
- Single Click - The owner chart's
TChart.Colorproperty changes(background color). The original color is then restored once another event updates the chart. - Hold Down - The owner chart's
TChart.Colorproperty randomly toggles between the original color and unwanted color.
The color changes seems to happen after a TChart.OnAfterDraw call(after the intial OnAfterClick call for the Single Click case).
Example(Before and After):

Easy to replicate:
- Create new VCL Forms application and add a
TChartcomponent to the form. - Add a
TLegendScrollBartool and number of series to the chart(chart editor). - Set the
TChart.Legend.MaxNumRowsproperty to a value smaller thanTChart.SeriesCount(). - Run.
Questions:
- Is there a entry point(s) after
TChart.OnAfterDrawwherein I could attempt to rectify the issue? Or a workaround? - (if not 1) Is there a way to completely remove(hide and disable) the scroll arrows?(force the user to use either the mouse-wheel or scroll-thumb to scroll the legend)