We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9cf5a5 commit 1a54b45Copy full SHA for 1a54b45
src/charting/components/AxisBase.ts
@@ -407,7 +407,7 @@ export abstract class AxisBase extends ComponentBase {
407
public setForcedInterval(interval) {
408
this.mForcedInterval = interval;
409
// set this to true if it was disabled, as it makes no sense to call this method with forcedInterval disabled
410
- this.mForcedIntervalEnabled = true;
+ this.mForcedIntervalEnabled = interval > 0;
411
}
412
/**
413
* @return the force interval
0 commit comments