score:4
Accepted answer
use getBarsAtEvent instead of getPointsAtEvent
Source: stackoverflow.com
Related Query
- Bootstrap modal showing when clicking individual points in Linechart but not in individual bars in Barchart
- How can I show Bootstrap modal when on click in individual bars in chart.js
- Bootstrap tab is working but the tab content is not showing
- ChartJS bar not showing up for simple data points
- ChartJS shows date, but not time, when displaying labels in time axis
- code works fine on jsfiddle but one function is not working on website
- Chartjs not showing all data points
- Bootstrap modal not working with chartjs line graph
- vue-chart.js : Data available as computed properties, but not showing in chart
- Add new chart.js when clicking a button, but get 'Cannot read property 'getContext' of null'
- ChartJS plot not showing as it should be when toggling a grouped legend element
- Chart.js not showing when i try to format dates
- Chart.js not showing data when pass dynamic labels
- I am using chart js to draw a chart. I did everything right but i don't know why the x axis and y axis label is not comming in chart. code below
- Pie Chart using chart.js not showing up but bar charts are?
- Chartjs doc examples are lightning fast but same code is slow when reproducing
- when showing large amount of data graph not displaying from middle
- 'require is not defined' error when attempting to use chartjs in javascript code
- Chart.js - Line chart does not render all points when using Point[] format
- when click legend item in chart.js my bar is hiden but value of bar not hide
- Chartjs Bar Chart showing old data when hovering
- ChartJs title not showing
- Adding Image inside Linechart points in ChartJs
- Bootstrap 3 tabs & Chart.js - charts not loading on tabs
- show label in tooltip but not in x axis for chartjs line chart
- chartjs + Angular6 is not showing charts or any error
- Ng2-Charts Linechart only showing first 2 two values
- Hide Y-axis labels when data is not displayed in Chart.js
- Bootstrap grid not working with canvas
- Using Chart.js - The X axis labels are not all showing
More Query from same tag
- How to show area chart with timeseries configuration with different datasets in Chart.js v3?
- how can i reset chartjs object all instances and recreate it from scratch?
- PrimeNg bar chart how do I hide the bar labels?
- How to export Chart.js chart using toBase64Image, but with no transparency?
- Using Chart.js client-side in Atlasboard
- onClick event to Hide dataset Chart.js V2
- ChartJS - Help me custom tooltip
- chart.js horzontalBar Stacked and Grouped - data not showing - a bug?
- Chartjs - Set start and end value into a Bar Chart
- Chart.js barchart custom on hover method
- how to display bars in chartjs
- Angular 9 - chartjs-plugin-annotation error
- How to set chart's percentageInnerCutout property with ng2-charts
- Date range picker and chart js
- Chart.js line graph-removing labels on the line
- ChartJS TypeError: document.getElementById(...).getContext is not a function
- Referencing locally declared variable into an array for data for chartjs
- How to update your django page by looking for new data in the db?
- Chart.js - Plot line graph with X , Y coordinates
- Chart does not display on webpage in Django app (with Chart.js)
- Chart.js Bubble chart with custome X-axis labels
- How to draw the stroke behind bars in Chart.js?
- How to use the tooltipTemplate on Chart.JS 2.0
- Loading and updating dynamic charts with dynamic data (chart.js)
- ChartJS - Time graph from JSON
- Chart.Js Doughnut not calculating JSON data properly
- ChartJS: Show all labels of a mixed chart in the tooltip
- chart js showing some weird data at top of charts
- ChartJS Scatter plot with JSON list variable not working
- How to plot date/time on X but display only dates in Chart.js?