score:0
Accepted answer
This is possible with Highcharts. You need to only find a common scale, use multiple y-axis and mock labels and tooltip values, for example:
var yLabels = [
[60, 70, 80, 90, 100],
['Average', 'Satisfactory', 'Good', 'Excellent', 'Outstanding']
];
Highcharts.chart('container', {
yAxis: [...],
xAxis: {
lineWidth: 0,
tickmarkPlacement: 'on',
categories: ['English', 'Behaviour', 'Physics', 'Chemistry', 'Biology', 'History']
},
tooltip: {
shared: true,
formatter: function() {
var points = this.points,
returnStr = this.x;
points.forEach(function(point) {
returnStr += (
'<br />' + point.series.name + ': ' + yLabels[point.point.x][point.y - 1]
);
});
return returnStr;
}
},
plotOptions: {
series: {
point: {
events: {
mouseOver: function() {
this.series.chart.yAxis[this.x].update({
labels: {
enabled: true
}
});
},
mouseOut: function() {
this.series.chart.yAxis[this.x].update({
labels: {
enabled: false
}
}, false);
}
}
}
}
},
...
});
Live demo: http://jsfiddle.net/BlackLabel/82dyogrp/
API Reference:
https://api.highcharts.com/highcharts/pane
Source: stackoverflow.com
Related Query
- ChartJS/High Charts Radar chart - Different radial axis labels for each category that appear on hover
- chartjs custom y axis values, different text for each one
- Chartjs - Add backgroundColor for labels radar chart
- Different color for each bar in a bar chart; ChartJS
- Chartjs random colors for each part of pie chart with data dynamically from database
- ChartJS New Lines '\n' in X axis Labels or Displaying More Information Around Chart or Tooltip with ChartJS V2
- Chart.js Line-Chart with different Labels for each Dataset
- show label in tooltip but not in x axis for chartjs line chart
- chart.js Line chart with different background colors for each section
- Chart.js - Line charts with different colors for each border lines
- Different color for each column in angular-chartjs bar chart
- Can I specify a different font size for each row of text in Chart Title?
- Chart js different background for y axis
- Change labels colors for radar chart js
- chart js - Apply different color for each x-axes label
- Chartjs 3.5.0 - Radar Chart - Converting the labels to images
- Setting Common labels and background color common for all the charts in ChartJs
- Minimum value for x Axis doesn't work for horizontal bar chart | ChartJS
- create different labels for different data chart js
- chart.js: How do I make the radar chart axis labels bigger?
- chart.JS i want to put different color for each Y axis value grid line color
- Chartjs React Typescript moving x axis labels above chart
- Linear x axis for bar chart chartjs
- Issue with chartjs linear gradient for the mixed bar chart in ReactJS is not calculated for each individual Bars
- How do I get a different label for each bar in a bar chart in ChartJS?
- highlightFill for radar charts in chartJS
- Charts JS: Doughnut chart and hiding tooltip for specific data index within each dataset
- ChartJs x axis labels on waterfall chart
- ChartJS Separate Labels for each dataset/independent datasets?
- Set different color for each bars using ChartJS in Angular 4
More Query from same tag
- Chart.js TypeError: context is null
- Chart Js Line chart with fill on click with full information of its legend text
- Is it possible to make 3D pie chart using chart.js?
- Y-Axis with different colors
- How to add a chart with a table in Chart.js?
- UnCaught IndexSizeError: ChartJS
- CharJS 2.5.0 - How to remove space between bars
- Displaying Charts in C# using ChartJS
- Chart.JS how to change order of y-axis
- Why isn't my X axes on my bar chart starting from zero?
- Chart.js - is there a way to extend an existing scale?
- chartjs hover over data without hoveringing on line
- Dynamically updating Chart.js data in angular
- How do i find area under the graph
- react-chart-js-2 keep bar width no matter what the number of bar is
- How to display half hour ticks on x-axes
- Chartjs: get the label title on the radar's chart tooltip
- How can I make two of my lines in Chart JS thicker
- Chart.js: Is it able to connect two points of data where there are no data between them?
- How to draw the circular progress bar in Chart.js Or any other JavaScript library in Angular 2
- How can I get a point to be drown over the line?
- change stroke line color in chart according to datasets in react native
- chart.js Line chart with different background colors for each section
- chart js -data on chart in rotated form
- Chart.js how to make chart only show the most recent data
- Blank PNG image using Chart JS . toBase64Image() function
- Stack two y axes using chart.js
- How to access labels array using chart plugin (Chart.pluginService.register) in Chartjs 2.x?
- Changing width of chart.js chart without changing height
- Installing chartjs in project without npm, bower or CDN