score:0
Accepted answer
console.log(points);
instead
if ($scope.chart) {
console.log($scope.chart.getpointsatevent(evt));
}
it was that easy;/
Source: stackoverflow.com
Related Query
- Angular / ng2-charts: Fetching json data in chart object showing: Cannot read property 'length' of undefined
- Uncaught TypeError: Cannot read property 'draw' of undefined : Angular chart js
- Chart Js Cannot read property 'length' of undefined
- Problem for display a chart with Chart.js and Angular
- Angular 2 chart - change point radius
- Angular Chart JS prevent x label causing overflow
- Series Details Not Showing in Angular Chart with Charts.js
- Ng2-charts / chart.js - how to refresh/update chart - angular 4
- TypeError: Cannot read property 'legend' of undefined | Angular + ng2-charts
- Extending Existing Chart Types angular chart js using chart js 2.0
- Chart.js Chart in Angular does not load until resizing browser window
- How to update data Chart in async way in Angular Chart.js?
- Angular 8 & ChartJs change color in pie chart
- Create multiple dynamic stacked chart using chart.js in Angular 10?
- Show labels on each sector to polar chart using angular js chart
- How to set single color on each bar in angular chart js
- chartjs - multi axis line chart - cannot read property 'min' of undefined
- Angular chart how to show the legend data value by default along with legend name
- How to show percentage (%) using chartjs-plugin-labels ( Pie chart ) in angular 2/8
- How to add title inside doughnut chart in Angular Chart?
- ChartJs chart in typescript: Object is possibly undefined in useEffect
- Chart Js + Angular
- ERROR TypeError: "this.canvas is undefined" | Problem with creating a chart with angular and chart.js
- Change Angular js charts.js chart type dynamically
- chart annotations not showing in Angular 2
- Remove additional white space on left and right side of Angular Chart
- Angular Charts.js: Can't refresh chart with data
- Css style not working well when resizing chart height in angular application
- Hide label on slice of Doghnut/Pie Chart Angular ng2-charts
- Changing Dataset for a chart in angular 10
More Query from same tag
- (ng2-charts, angular) Doughnut chart not showing up after AOT? (but filltext is working)
- Passing data to highcharts from javascript array or variable
- Chart.js Line Graph: Start a line in the middle of a graph
- How can I hide a chartjs chart?
- Can't make chart js responsive
- cannot read property 'yyyx' of undefined
- Can I color the first bar in "Bart Char" differently?
- Chart.js intersection not working without zero value on Y
- Show value on Mixed chart, Charts.js
- Chart JS - Change the color of the last element in a Bar Chart
- JavaScript & HTML - reusing data from fetch()
- How to make a child component of a sibling component refresh when a button is pressed in ReactJS?
- Chart.js Bar Chart - grouping and mapping data
- How to pass values to a chart (chart.js / morris.js)
- Chart.js: Can datasets be overlaid in a bar chart? (Not the same as stacked)
- JQuery calling global from local
- Chart.js how to rewrite x for webAPP
- chartjs-plugin-datalabels not showing on stacked horizontal bar
- Have all label in Chartjs be at fixed positions
- Format chart.js x labels
- Catch event of show and hide dataset at chart.js
- Using Chart.js with angular and systemjs: "Chart is not defined"
- Increase space between largest bar and top grid line in charts.js
- Converting JSON data into Chart.js array from strings
- Bar labels in Legend
- Show count concatenated to labels using chart.js
- Chart.js | Trouble refreshing line chart with "setInterval"
- How to set default callback for tooltip title with chart.js
- Chart.js - How to Add Text in the Middle of the Chart?
- How to change tooltip on Angular Chart.js