Issue with OnBeforeDrawChart
Posted: Sat May 11, 2019 7:08 am
Hello,
I need to have the plot area (area between axes) painted in white so I added some code in the OnBeforeDrawChart event. When I start the app the area inside the plot is painted with the default colour and once I move the mouse inside the event code executes well. Is there a way to fix this? I tried calling TChart.Draw when the form is shown but no luck.
I am using the latest TChart version
I need to have the plot area (area between axes) painted in white so I added some code in the OnBeforeDrawChart event. When I start the app the area inside the plot is painted with the default colour and once I move the mouse inside the event code executes well. Is there a way to fix this? I tried calling TChart.Draw when the form is shown but no luck.
I am using the latest TChart version