tryUpdate

fun tryUpdate(minX: Float, maxX: Float, minY: Float, maxY: Float, xStep: Float, chartEntryModel: ChartEntryModel, axisPosition: AxisPosition.Vertical? = null)

Attempts to update the stored values to the provided values. MutableChartValues.minX and MutableChartValues.minY can be updated to a lower value. MutableChartValues.maxX and MutableChartValues.maxY can be updated to a higher value. MutableChartValues.chartEntryModel and MutableChartValues.xStep are always updated. If axisPosition is null, only the main ChartValues are updated. Otherwise, both the main ChartValues and the ChartValues associated with the given axisPosition are updated.