|
|
@ -28,7 +28,7 @@ export class ChartwerkGaugePod extends ChartwerkPod<GaugeData, GaugeConfig> { |
|
|
|
_thresholdTextLabels: any[] = []; |
|
|
|
_thresholdTextLabels: any[] = []; |
|
|
|
|
|
|
|
|
|
|
|
constructor(el: HTMLElement, _series: GaugeData[] = [], _options: GaugeConfig = {}) { |
|
|
|
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)); |
|
|
|
super(el, _series, _.assign(_options, CORE_OPTIONS_DEFAULTS)); |
|
|
|
this.series = new GaugeSeries(_series); |
|
|
|
this.series = new GaugeSeries(_series); |
|
|
|
this.options = new GaugeOptions(_options); |
|
|
|
this.options = new GaugeOptions(_options); |
|
|
|