Skip to content

Disabling/enabling scaling axis for both price and time #440

Description

@yusufsahinhamza

Is your feature request related to a problem? Please describe.

It's not possible to disable scaling axis for only price or time.

Describe the solution you'd like

Instead of disabling/enabling scaling axis like that:

chart.applyOptions({
    handleScale: {
        axisPressedMouseMove: false
    }
});

We can seperate scaling axis to options for only price or time like that:

chart.applyOptions({
    handleScale: {
        priceAxisPressedMouseMove: false,
        timeAxisPressedMouseMove: true
    }
});

Additional context

I would like to create an PR for that if it's okay.

Metadata

Metadata

Labels

enhancementFeature requests, and general improvements.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions