Skip to content

zoom in yaxis #794

@Sumon-miazi

Description

@Sumon-miazi

Is there any way to zoom line chart in the y-axis. if I select some area(blue color rectangle) I want that area to zoom in the y-axis(black arrow). Is it possible?
DeepinScreenshot_select-area_20190724160244

I wrote this in my chart.
chart: { id: 'chart2', type: 'line', height: 400, animations: { enabled: false, }, zoom: { enabled: true, type: 'xy', autoScaleYaxis: true, zoomedArea: { fill: { color: '#90CAF9', opacity: 0.4 }, stroke: { color: '#0D47A1', opacity: 0.4, width: 1 } }, }, },

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions