gridy-chart-echarts
Advanced tools
Comparing version 2.0.16 to 2.0.17
{ | ||
"name": "gridy-chart-echarts", | ||
"version": "2.0.16", | ||
"version": "2.0.17", | ||
"description": "GridyGrid chart component ECharts driver", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
import { GridyChartDriver } from "../../gridy-grid/src/chart/gridy-chart-driver.js"; | ||
import { FieldMappedChart } from "../../gridy-grid/src/chart/impl/field-mapped-chart.js"; | ||
import { ATTR_CHANGE_EVT } from "../../sk-core/src/event/attrchange.js"; | ||
import * as jsonpath from '../../sk-core/complets/jsonpath.js'; | ||
let JSONPath; | ||
if (jsonpath) { | ||
if (typeof jsonpath.JSONPath === 'function') { | ||
JSONPath = new jsonpath.JSONPath() | ||
} else { | ||
JSONPath = new window.jsonpath.JSONPath(); | ||
} | ||
} | ||
export class DefaultEchartsChart extends FieldMappedChart { | ||
@@ -219,3 +209,3 @@ | ||
let fmtedData = this.chartImpl.fmtData(data); | ||
let fmtedData = await this.chartImpl.fmtData(data); | ||
@@ -222,0 +212,0 @@ let container = el.querySelector('.gridy-chart-container'); |
12259
221