Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2433

Summary: Scroll/Pan horizontally with the mouse wheel
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: AxisAssignee: yeray alonso <yeray>
Status: RESOLVED FIXED    
Severity: enhancement CC: yeray
Priority: ---    
Version: 32.210430   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.steema.com/support/viewtopic.php?f=3&t=17523
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2021-06-21 05:00:57 EDT
Activating the pan/scroll with the mouse wheel only scrolls vertically.
Example:

procedure TForm1.FormCreate(Sender: TObject);
var Chart1: TChart;
begin
  Chart1:=TChart.Create(Self);
  Chart1.Parent:=Self;
  with Chart1 do
  begin
    Align:=alClient;

    ScrollMouseButton:=mbMiddle;
    Panning.MouseWheel:=pmwNormal;
    AllowPanning:=pmHorizontal;

    View3D:=False;
    Legend.Hide;
    AddSeries(TLineSeries).FillSampleValues;
  end;
end;