Skip to content

Commit d916ee8

Browse files
committed
fix: removed unecessary computeAxis
1 parent 3234332 commit d916ee8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/charting/charts/BarLineChartBase.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,13 @@ export abstract class BarLineChartBase<U extends Entry, D extends IBarLineScatte
319319

320320
this.calcMinMax();
321321

322-
if (this.mAxisLeft.isEnabled()) {
323-
this.mAxisRendererLeft.computeAxis(this.mAxisLeft.mAxisMinimum, this.mAxisLeft.mAxisMaximum, this.mAxisLeft.isInverted());
324-
}
325-
if (this.mAxisRight.isEnabled()) {
326-
this.mAxisRendererRight.computeAxis(this.mAxisRight.mAxisMinimum, this.mAxisRight.mAxisMaximum, this.mAxisRight.isInverted());
327-
}
328-
this.mXAxisRenderer.computeAxis(this.mXAxis.mAxisMinimum, this.mXAxis.mAxisMaximum, false);
322+
// if (this.mAxisLeft.isEnabled()) {
323+
// this.mAxisRendererLeft.computeAxis(this.mAxisLeft.mAxisMinimum, this.mAxisLeft.mAxisMaximum, this.mAxisLeft.isInverted());
324+
// }
325+
// if (this.mAxisRight.isEnabled()) {
326+
// this.mAxisRendererRight.computeAxis(this.mAxisRight.mAxisMinimum, this.mAxisRight.mAxisMaximum, this.mAxisRight.isInverted());
327+
// }
328+
// this.mXAxisRenderer.computeAxis(this.mXAxis.mAxisMinimum, this.mXAxis.mAxisMaximum, false);
329329

330330
if (this.mLegend != null) this.mLegendRenderer.computeLegend(this.mData);
331331

0 commit comments

Comments
 (0)