Browse Source

todo

merge-requests/2/head
rozetko 3 years ago
parent
commit
10bc40fa88
  1. 2
      src/index.ts

2
src/index.ts

@ -28,7 +28,7 @@ export class ChartwerkGaugePod extends ChartwerkPod<GaugeData, GaugeConfig> {
_thresholdTextLabels: any[] = [];
constructor(el: HTMLElement, _series: GaugeData[] = [], _options: GaugeConfig = {}) {
// TODO: update core options to disable grid
// TODO: something better than assign?
super(el, _series, _.assign(_options, CORE_OPTIONS_DEFAULTS));
this.series = new GaugeSeries(_series);
this.options = new GaugeOptions(_options);

Loading…
Cancel
Save