Skip to content

setVisibleXRangeMaximum and setVisibleYRangeMaximum not working #1858

@balalakshmi-s

Description

@balalakshmi-s

Hi,

setVisibleXRangeMaximum(int) and setVisibleYRangeMaximum(int ,AxisDependency) functions are not working in this chart.

I've set setVisibleXRangeMaximum(3) and setVisibleYRangeMaximum(3,YAxis.AxisDependency.LEFT). The expected chart should contain a maximum of 3 values on x-axis and 3 values on y-axis.
But the chart is currently showing all the values. Kindly let me know the reason for this issue.

Screenshots:

The above-mentioned functions are not working on the chart. I've added the screenshots for LineChart and BarChart.

linechart

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions