score:2
Accepted answer
based on documentation, you can use:
labels: {
render: function (args) {
// { label: 'label', value: 123, percentage: 50, index: 0, dataset: {...} }
// index - datasetindex
if (args.index == 1) {
return { src: 'url', width: 25, height: 25 };
}
return undefined;
},
},
Source: stackoverflow.com
Related Query
- Chart js - render images on only one dataset
- Chart JS attempt to stacked bar chart tooltip for only one dataset
- How to display value of only one datapoint in line chart
- ChartsJS make number in middle for only one chart
- Chartjs.org Chart only displaying in one page
- Chart.js v2.0: Tooltip only for one dataset
- Disable chartJS tool tip on one dataset only
- Chartjs chart with only one axis
- Bar chart (chart.js) with only 2 points does not show one of the bars
- How to remove only one specific dataset label chartJS?
- VueJS + Chartjs - Chart only renders after code change
- After rendering one chart when trying to render a new one chart.js gives "Check that a complete date adapter is provided."
- How to limit chart JS hover to take only one value from each line chart when zoomed out?
- Chart JS Displays Only Bigger Dataset But Has Both Datasets?
- chart.js - how to draw and manage line when only one label present in chart js Linechart
- ChartJS with React: Only one value showing on time chart
- ChartJS fails to render one of the lines in cartesian chart following update after change to max Y axis label value
- ChartJS animate only one dataset
- PHP render stacked area chart of JSON dataset
- How can I make lines fully connected in a multi-line chart even when one dataset is more sparse than another?
- chat,js stacked bar chart (make one dataset into stacked)
- Chart.js - How to set a line chart dataset as disabled on load
- line chart with {x, y} point data displays only 2 values
- Chartjs linechart with only one point - how to center
- How to display Line Chart dataset point labels with Chart.js?
- Add DataSet Bar Chart - Chart.JS
- How to add an offset to a dataset in Chart js
- Chart looks only grey, does not show the color - Chartjs,discordjs
- Display a limited number of labels only on X-Axis of Line Chart using Chart.js
- Can Chart.js combines Line Chart and Bar Chart in one canvas
More Query from same tag
- Change point color on click using ChartJS
- Using Createjs and Chartjs
- chartjs-plugin-annotation won't draw anything
- NG2-Charts Can't bind to 'datasets' since it isn't a known property of 'canvas'
- How can I create a long tail chart with chart.js
- How can I append a calculated value to the end of a bar in Chart.JS?
- Chart js sum of grouped bars
- Destroying chart.js is not working when chart created inside function - chart.destroy() is not a function
- How can I remove extra whitespace from the bottom of a line chart in chart.js?
- Have text displayed instead of numerical values on y axis
- AutoSkip: False not working on time xAxes labels
- how to resize specific gridline(s) in chart.js
- How to do click the HTML button as if the user is clicking
- how to align count text center in horizontal bar in the Chart.js?
- How to mutate VueJS prop?
- Two tone colours in chart.js pie chart
- Creating a Doughnut chart using JSON and chart.js
- chartjs-plugin-error-bars display error-bars without displaying label on a horizontalBar chart
- Multiple add in multiple sql request?
- Django admin/ Chart js error - super() takes at least 1 argument (0 given)
- jQuery convert hex to rgba
- Line chart with combination of fill and line
- Data will not draw onto my chart
- How to add text inside the doughnut chart using Chart.js AngularJS 2.0?
- Chart Js Negative Scale
- Chart JS : Getting issue with draw bar chart
- How to start Y Axis Line at 0 from right for negative values in chart js 2?
- Calculate Ideal Burndown
- Chart js how to toggle line without click
- Chart.js 2.0 - How to change default appearance of canvas/chart elements