Scroll with Mouse Wheel TChart 2021
Posted: Tue Jun 15, 2021 12:21 pm
Hi,
i've installed TeeChart Pro VCL/FMX v2021 [30 APR 2021] and i'm working with C++ Builder 10.4. I've created a 32 bit VCL application and added a TChart with a TLineSeries to the main form. Can't scroll the Serie with the mouse wheel. I tried this options:
The OnMouseWheel event triggers correctly when i try scrolling, but OnScroll event doesn't.
I've already checked the example in TeeNew(Miscellaneous -> Mouse wheel scrolling), StackOverflow and this forum. Can't find a solution that works. Please help me
EDIT: i want to scroll with the mouse wheel only Horizontally. Vertical scroll is disabled
i've installed TeeChart Pro VCL/FMX v2021 [30 APR 2021] and i'm working with C++ Builder 10.4. I've created a 32 bit VCL application and added a TChart with a TLineSeries to the main form. Can't scroll the Serie with the mouse wheel. I tried this options:
Code: Select all
Chart1->AllowPanning = pmHorizontal;
Chart1->Panning->MouseWheel = pmwNormal;
Chart1->Zoom->Allow = false;
Chart1->ZoomWheel = pmwNone;
Chart1->TabStop = true;
Chart1->SetFocus();
I've already checked the example in TeeNew(Miscellaneous -> Mouse wheel scrolling), StackOverflow and this forum. Can't find a solution that works. Please help me
EDIT: i want to scroll with the mouse wheel only Horizontally. Vertical scroll is disabled