Open akapong-tkc opened 1 year ago
Hi there, Can anyone have a solution for me ? I've a problem when zoom in Timeseries charts and point on chart for a label, error show as below.
but if I zoom and not point on chart for a label chart will show normally.
I use data from this example https://apexcharts.com/vue-chart-demos/area-charts/datetime-x-axis/
Version "vue": "^2.6.14" "apexcharts": "^3.37.2" "vue-apexcharts": "^1.6.2"
this is my code.
<div id="chart-timeline"> <apexchart type="area" height="350" ref="chart" :options="chartOptions" :series="series" ></apexchart> </div>
export default { data: () => ({ series: [ { data: [ [1327359600000, 30.95], [1327446000000, 31.34], [1327532400000, 31.18], [1327618800000, 31.05], [1327878000000, 31.0], [1327964400000, 30.95], [1328050800000, 31.24], [1328137200000, 31.29], [1328223600000, 31.85], [1328482800000, 31.86], [1328569200000, 32.28], [1328655600000, 32.1], [1328742000000, 32.65], [1328828400000, 32.21], [1329087600000, 32.35], [1329174000000, 32.44], [1329260400000, 32.46], [1329346800000, 32.86], [1329433200000, 32.75], [1329778800000, 32.54], [1329865200000, 32.33], [1329951600000, 32.97], [1330038000000, 33.41], [1330297200000, 33.27], [1330383600000, 33.27], [1330470000000, 32.89], [1330556400000, 33.1], [1330642800000, 33.73], [1330902000000, 33.22], [1330988400000, 31.99], [1331074800000, 32.41], [1331161200000, 33.05], [1331247600000, 33.64], [1331506800000, 33.56], [1331593200000, 34.22], [1331679600000, 33.77], [1331766000000, 34.17], [1331852400000, 33.82], [1332111600000, 34.51], [1332198000000, 33.16], [1332284400000, 33.56], [1332370800000, 33.71], [1332457200000, 33.81], [1332712800000, 34.4], [1332799200000, 34.63], [1332885600000, 34.46], [1332972000000, 34.48], [1333058400000, 34.31], [1333317600000, 34.7], [1333404000000, 34.31], [1333490400000, 33.46], [1333576800000, 33.59], [1333922400000, 33.22], [1334008800000, 32.61], [1334095200000, 33.01], [1334181600000, 33.55], [1334268000000, 33.18], ], }, ], chartOptions: { chart: { id: "area-datetime", type: "area", height: 350, zoom: { autoScaleYaxis: true, }, }, annotations: { yaxis: [ { y: 30, borderColor: "#999", label: { show: true, text: "Support", style: { color: "#fff", background: "#00E396", }, }, }, ], xaxis: [ { x: new Date("14 Nov 2012").getTime(), borderColor: "#999", yAxisIndex: 0, label: { show: true, text: "Rally", style: { color: "#fff", background: "#775DD0", }, }, }, ], }, dataLabels: { enabled: false, }, markers: { size: 0, style: "hollow", }, xaxis: { type: "datetime", min: new Date("01 Mar 2012").getTime(), tickAmount: 6, }, tooltip: { x: { format: "dd MMM yyyy", }, }, fill: { type: "gradient", gradient: { shadeIntensity: 1, opacityFrom: 0.7, opacityTo: 0.9, stops: [0, 100], }, }, }, }), } </script>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi there, Can anyone have a solution for me ? I've a problem when zoom in Timeseries charts and point on chart for a label, error show as below.
but if I zoom and not point on chart for a label chart will show normally.
I use data from this example https://apexcharts.com/vue-chart-demos/area-charts/datetime-x-axis/
Version "vue": "^2.6.14" "apexcharts": "^3.37.2" "vue-apexcharts": "^1.6.2"
this is my code.