score:1
Accepted answer
i found the solution by adding displaycolors:false
in tooltips option like this
tooltips: {
displaycolors:false,
callbacks: {
label: function(tooltipitem) {
return tooltipitem.ylabel;
}
}
}
now the legend are not shown, i hope it helps someone with similar issue.
Source: stackoverflow.com
Related Query
- Hide legends in Chartjs
- Hide points in ChartJS LineGraph
- Is it possible in chartjs to hide certain dataset legends?
- Chartjs hide data point labels
- How to fix chart Legends width-height with overflow scroll in ChartJS
- Hide labels on x-axis ChartJS
- ChartJS hide labels on small screen sizes
- Hide gridlines in chartjs without the drawTicks
- Displaying mixed types of legends (bar and lines) with Chartjs
- Chartjs hide dataset legend v3
- How to add ChartJS code in Html2Pdf to view image
- Unable to hide Legend in Chartjs with PrimeFaces7.0
- ChartJS Annotation Hide /Show
- How do I add time sourced from an external source as an X axis to a ChartJS graph?
- Hide all scale labels in chartjs
- Chartjs not working with d3 from csv source
- how to hide specific dataset based on condition chartjs angular
- Completely hide the Y-axis on chartjs when data is hidden
- 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?
- Hide labels from pie chart in chartjs
- Disable or hide YAixs of chart in chartJs
- ChartJS - legends and tooltips options
- How to hide the labels of graphs that are not toggled in ChartJS
- hide label on doughnut chart of chartjs
- Order and hide items of legend by value with Chartjs Angular
- How to hide other section of chartjs on click of lengend
- How can I hide a chartjs chart?
- ChartJS have xAxes labels match data source
- Updating Chartjs to 2.5 with custom code
More Query from same tag
- Add Commas to ChartJS Data Points
- Chartjs doc examples are lightning fast but same code is slow when reproducing
- Is it possible in chartjs to hide certain dataset legends?
- How do I make many ChartJS charts on the same page to have the same height and also even column width?
- Chart.js Dynamically Updating Chart with X Axis Time
- ChartJS: How to center monthly bars against a daily line chart?
- js devexpress PieChart Series color runtime
- Avoiding Empty Curly Braces in MongoDB Aggregation
- Adding trendlines to existing chart Chart.js
- How to skip x Axes labels in ChartJS
- Getting Error regarding :Cannot read property 'length' of undefined
- Using Variable in labels Chart.js of map Array
- Incorrect time chart Chart.js
- ChartJs: remove line between two points
- Javascript object from string
- How can I get access to the index of the highlighted dataset in Chart.js
- how can i put a chart in a div with *ngIf
- Put tooltip on the middle of two bars
- Levels is overlapping in angular-chart.js
- Why is here a number?
- How to properly render Chartjs with big difference between bars data?
- angular-chart.js doughnut chart : How do I change width of the arc of a doughnut?
- How to get x-axis value in chart as string?
- Charts.js not using the right colors
- ChartJS show jittering on hover
- Chartjs multi dimensional bar chart
- ChartJS - Show percentage on hover (AngularJS)
- multiple charts js in page but with same tooltips (about last chart)
- chart.js radar scaleShowLine for each scaleLine
- Issue with HTML2Canvas - Green overlay while exporting