|
|
|
@ -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); |
|
|
|
|