Posted 17 April 2018, 2:52 am EST
Hi,
This is a follow up on a topic I’ve raised some time ago (https://www.grapecity.com/en/forums/wijmo/flexchart--add-x-and-y-mar), but I still don’t have the answer.
What event I should use to update min/max here
{
let yRange = this.calculateActualRangeWithMargins(data, margin)
this.chartCtrl.axisY.min = yRange.minValue;
this.chartCtrl.axisY.max = yRange.maxValue;
this.chartCtrl.invalidate()
}
I tried “rendered”, but it doesn’t work.
Appreciate your help.
Pavlo