diff --git a/components/lib/chart/BaseChart.vue b/components/lib/chart/BaseChart.vue new file mode 100644 index 000000000..0a34b6a22 --- /dev/null +++ b/components/lib/chart/BaseChart.vue @@ -0,0 +1,48 @@ + diff --git a/components/lib/chart/Chart.d.ts b/components/lib/chart/Chart.d.ts index 2ea6c838c..93b72ae75 100755 --- a/components/lib/chart/Chart.d.ts +++ b/components/lib/chart/Chart.d.ts @@ -99,6 +99,11 @@ export interface ChartProps { * @type {ChartPassThroughOptions} */ pt?: ChartPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } export interface ChartSlots {} diff --git a/components/lib/chart/Chart.vue b/components/lib/chart/Chart.vue index 1de5f969d..f2c5f55de 100755 --- a/components/lib/chart/Chart.vue +++ b/components/lib/chart/Chart.vue @@ -1,34 +1,16 @@ - -