score:0
simplest would be to set div around it and set *ngif option and click event.
your chartscore:1
i have been using this chartjs wrapper: ng2-charts. it works great on latest angular 2+, i used it on angular 5. this wrapper offers you a chartclick for the directive so you can link it with a function in your code. with no more info about what you are trying to do i would suggest you look at this and maybe work using that event object.
(chartclick)="chartclicked($event)"
Source: stackoverflow.com
Related Query
- How to hide other section of chartjs on click of lengend
- How to hide section in a Chart.js Pie Chart
- chart.js - link to other page when click on specific section in chart
- How to add ChartJS code in Html2Pdf to view image
- How do I add time sourced from an external source as an X axis to a ChartJS graph?
- How to highlight a section of a stack in all bars in a stacked barchart in chartjs
- how to hide specific dataset based on condition chartjs angular
- How to hide some points inside my line graphic in React ChartJS 2?
- How do I hide line outside the min/max (scale area) in chartjs 2.0?
- How to hide the labels of graphs that are not toggled in ChartJS
- How to change React chartjs-2 legend click functionality to hide all except the one clicked?
- How can I hide a chartjs chart?
- How to hide/show bars differentiate by a colors and by click on labels, using chartjs bar charts?
- How to disable click in graph ChartJS
- chartjs - show hide specific dataset with click on element outside graph
- How do I hide values past the x-axis in chartjs 2.0?
- How to hide labels by two ticks? chartjs
- how to show REALTIME chartjs of specific ID in mysql when click on corresponding marker on googlemap javascript
- How to run Chart.js samples using source code
- How to use ChartJS object in a click event handler?
- How to hide row in chartJS when filtering?
- how to only show zero grid axes at center and hide all other gridlines in chart js
- Hide points in ChartJS LineGraph
- How to set ChartJS Y axis title?
- How to hide y axis line in ChartJs?
- Is it possible in chartjs to hide certain dataset legends?
- How to disable chartjs legendclick
- how to change size of point in ChartJS
- How to disable a tooltip for a specific dataset in ChartJS
- How to modify chartjs tooltip so i can add customized strings in tooltips
More Query from same tag
- Chart.js - Styling Legend
- How to set vertical lines for new day on x-axis in ChartJS v3.x
- Display Charts based on year select in django
- ChartJS: Show all tooltips with Total for Multi Pie chart
- Remove redundant legends on the chart using generateLabels with ChartJS v3
- chartjs stack bar graph color not working
- Trying to get multiple chart.js charts to load on the same page
- Mixed Diagram (Line/Bar) with two y-Axis won't display data on 2nd Axis
- Chart.js not working on Angular 1.5?
- Accesing external Javascript (Chart.js) with Thymeleaf
- Values above points - chart.js
- Remove x-axis label/text in chart.js
- Angular chart how to show the legend data value by default along with legend name
- Bar charts not getting displayed correctly when bar is below zero (chart.js)
- ChartJs showing wrong labels of data (x-axis dates)
- How to create single value Doughnut or Pie chart using Chart.js?
- Need some Help Regarding Chart.js
- Draw multiple chart in one page with Chart.js
- Chartjs annotation plugin colored box colors get summed after switching back and forth
- How to make bars different colours in Chart.js with csv data?
- Include Percentage In Legend
- Chart js Datalabels styling
- Chart js cut the title and the legends
- Charts.js Multi Line scales. See value curve
- How to add label for ChartJs Legend
- ChartJs functional component does not refresh even when forceUpdate
- ChartJS fails to render horizontal bar chart for timeseries data
- Chart js - Line chart - How to hide the data label on the line?
- Horizontal stacked bar chart with chart.js
- Set max value for each label with Chart.js