score:1
Accepted answer
that type of chart can be easily created using highcharts. you can use line
and xrange
series types with two yaxis
:
highcharts.chart('container', {
xaxis: {
type: 'datetime'
},
yaxis: [{
categories: [...],
}, {
opposite: true
}],
series: [{
type: 'xrange',
data: [...]
}
}, {
type: 'line',
yaxis: 1,
data: [...]
}]
});
live demo: https://jsfiddle.net/blacklabel/zv74tsoq/
api reference: https://api.highcharts.com/highcharts/yaxis
Source: stackoverflow.com
Related Query
- Google Charts, HighCharts or ChartJS Dual Axis Gantt Chart and Line Chart Visualization
- Chartjs 2 - Stacked bar and unstacked line on same chart with same y axis
- ChartJs line chart time cartesian axis number of ticks and wierd offset
- Multiple axis line chart with Chart.js and JSON data from Google Sheet
- show label in tooltip but not in x axis for chartjs line chart
- Show X axis on top and bottom in line chart rendered with Chart.js 2.4.0
- How to hide the y axis and x axis line and label in my bar chart for chart.js
- Map event position to y axis value in chartjs line chart
- Chart.js with dual axis on bar and line graph
- ChartJS Line chart cut off at the top and bottom
- ChartJS line chart drag and zoom
- ChartJS (React) Line Chart - How to show single tooltip with data and labels from 3 (multiple) dataset?
- chartjs - multi axis line chart - cannot read property 'min' of undefined
- Chart with Time axis only displaying first grid line and tick label (unitStepSize)
- Can't Draw Horizontal Line on Graph Using ChartJS Annotation Plugin and Primevue Chart
- How do you set x and y axis and Title for a line chart using charts.js?
- Chartjs draw line chart where line go back and forth (by chronological order)
- How to set 3 axis in google chart (V-Axis Left as Qty, V-Axis Right as Series Column and H-Axis as TimeOrder)?
- How to add left padding for my charts done in ChartJs and my Google Map so it is not glued to the limit of the page on the left
- X and Y axis labels not displaying on line chart (Chart.js)
- Rails dual axis using Chartkick and chart js
- I am using chart js to draw a chart. I did everything right but i don't know why the x axis and y axis label is not comming in chart. code below
- Line chart plotting multiple points for duplicate data on x and y axis using chart.js
- Aligning zero on y axis to the labels on x axis of line chart in chartjs
- Chartjs Line chart options display increase and decrease percentage between each datapoint
- How to extend chartjs line charts in ReactJS to show solid and dashed line together?
- Creating a real time line chart using chartjs and firebase realtime db
- How to add vertical line in bar chart using chartJs and ng2-charts?
- ChartJS set color of Line chart points depending on Y Axis
- In Chart.js set chart title, name of x axis and y axis?
More Query from same tag
- Charts.JS - Too Many Charts? - Loading Issue
- ChartJS Pie Chart How default just show 2 legend datas
- Saving chart.js chart to a folder (Not download)
- Chart js with problems when using too many series
- Where is radar.js?
- Combine multiple columns values to one label in chart.js
- Using chart.js version 1.0.2 and 2.0 together
- Unable to display HH:mm:ss data in Chart.js
- Difference between DXTREME and PhoneGap
- ChartJs Scatter with Bars
- react chart js skip zero value month
- Mixed Diagram (Line/Bar) with two y-Axis won't display data on 2nd Axis
- Change tool-tip direction in react-chartjs2
- Chart.js multiple doughnut charts above pie chart
- angular-chart chart-line not working
- is there a way to change the date format in php?
- Where are the default colors for charts in Chart.js defined?
- Adding object data to data structure of chart.js chart does not show any data
- How can I add a euro sign (€) to all tooltips in my chart js line chart
- Chart.Js Doughnut not calculating JSON data properly
- Have all label in Chartjs be at fixed positions
- Chartjs - How to get last 7 days on x-axis labels?
- How can I remove the white border from Chart.js pie chart when all legends are hidden?
- canvas fill text vanishes when hovering over chartjs pie chart
- Plot Multiple Line Chart in Ionic 3 with ChartJS
- Placing JavaScript content in Bootstrap Popover
- ChartJs shows the wrong labels
- Chart.js 3.7 version. How to modify legend label?
- How to extract ChartJs data and config properties
- Unwanted comma in the tooltips when line breaking a label in ChartsJS