Skip to content

Commit 785603c

Browse files
committed
feat: remove addText as it's no longer relevant
1 parent fbbdd93 commit 785603c

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ You don't actually need to call updateSeries() or updateOptions() manually. Chan
222222
| <a href="https://apexcharts.com/docs/methods/#updateOptions">updateOptions</a> | Allows you to update the configuration object |
223223
| <a href="https://apexcharts.com/docs/methods/#toggleSeries">toggleSeries</a> | Allows you to toggle the visibility of series programatically. Useful when you have custom legend. |
224224
| <a href="https://apexcharts.com/docs/methods/#appendData">appendData</a> | Allows you to append new data to the series array. |
225-
| <a href="https://apexcharts.com/docs/methods/#addtext">addText</a> | The addText() method can be used to draw text after chart is rendered. |
226225
| <a href="https://apexcharts.com/docs/methods/#addxaxisannotation">addXaxisAnnotation</a> | Draw x-axis annotations after chart is rendered. |
227226
| <a href="https://apexcharts.com/docs/methods/#addyaxisannotation">addYaxisAnnotation</a> | Draw y-axis annotations after chart is rendered. |
228227
| <a href="https://apexcharts.com/docs/methods/#addpointannotation">addPointAnnotation</a> | Draw point (xy) annotations after chart is rendered. |

src/vue3-apexcharts.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,6 @@ const vueApexcharts = defineComponent({
187187
return chart.value.zoomX(start, end);
188188
};
189189

190-
const addText = options => {
191-
chart.value.addText(options);
192-
};
193-
194190
const dataURI = () => {
195191
return chart.value.dataURI();
196192
};
@@ -282,7 +278,6 @@ const vueApexcharts = defineComponent({
282278
zoomX,
283279
toggleDataPointSelection,
284280
appendData,
285-
addText,
286281
appendSeries,
287282
addXaxisAnnotation,
288283
addYaxisAnnotation,

typings/vue-apexcharts.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export interface VueApexChartsComponent extends ComponentPublicInstance {
2323
zoomX(min: number, max: number): void;
2424
toggleDataPointSelection(seriesIndex: number, dataPointIndex?: number): any;
2525
appendData(newData: any): Promise<void>;
26-
addText(text: string): void;
2726
appendSeries(newSeries: any, animate?: boolean): Promise<void>;
2827
addXaxisAnnotation(options: any, pushToMemory?: boolean, context?: any): void;
2928
addYaxisAnnotation(options: any, pushToMemory?: boolean, context?: any): void;

0 commit comments

Comments
 (0)