Skip to content

Automatic panning is not supported #8

Closed
@MsXam

Description

@MsXam

Automatic panning does not work if we set :

zoomPanBehavior: ZoomPanBehavior(
enablePanning: true,
enablePinching: false,
),

Full Chart :

        /// Used for column 
        SfCartesianChart(
      plotAreaBorderWidth: 0,
      primaryXAxis: CategoryAxis(
        majorGridLines: MajorGridLines(width: 0),
      ),
      primaryYAxis: NumericAxis(
          maximum: 100,
          minimum: 0,
          interval: 25,
          axisLine: AxisLine(width: 0),
          majorTickLines: MajorTickLines(size: 0)),
      series: getColumnSeries(),
          isVisible: true,
          overflowMode: LegendItemOverflowMode.wrap),
      tooltipBehavior: TooltipBehavior(enable: true),
      zoomPanBehavior: ZoomPanBehavior(
        enablePanning: true,
        enablePinching: false,
      ),
    ),

The only way to get panning working is to :

  1. zoomPanBehavior: ZoomPanBehavior(
    enablePanning: true,
    enablePinching: true,
    ),

  2. zoomPanBehavior: ZoomPanBehavior(
    enablePanning: true,
    enablePinching: false, enableDoubleTapZooming: true
    ),

I just want to view a graph and be able to pan the graph without having to doubletap - is this another bug in syncfusion or is this a limitation ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions