@amcharts/amcharts5
Version:
amCharts 5
18 lines • 560 B
JavaScript
import { Graphics } from "../../../core/render/Graphics";
/**
* Creates an axis grid line.
*
* @see {@link https://www.amcharts.com/docs/v5/charts/xy-chart/axes/#Grid} for more info
* @important
*/
export class Grid extends Graphics {
_beforeChanged() {
super._beforeChanged();
if (this.isPrivateDirty("width") || this.isPrivateDirty("height")) {
this._clear = true;
}
}
}
Grid.className = "Grid";
Grid.classNames = Graphics.classNames.concat([Grid.className]);
//# sourceMappingURL=Grid.js.map