score:1
Accepted answer
You can invert the axis:
chart: {
type: 'scatter',
inverted: true
},
and while placing data you can use x and y axis both values like below:
data: [[0, 4],[0,2]]
Highcharts.chart('container', {
chart: {
type: 'scatter',
inverted: true
},
xAxis: {
categories: [
'AT&T',
'Verizon',
'Tel'
]
},
yAxis: {
title: {
text: 'Number of units'
},
allowDecimals: false,
min: 0
},
series: [{
data: [[0, 4],[0,2]]
}, {
data: [[1,2]]
}, {
data: [[2,2],[2,3],[2,4],[2,5],[2,6]]
}]
});
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<div id="container" ></div>
Source: stackoverflow.com
Related Query
- Chart type to plot only data points
- Ending Series points don't show up on highchart area type chart for large series data
- highcharts splines chart - large data should plot specific data only
- I have no direct access to code but wonder if I can append my chart data points to a log file
- Highcharts scatter plot with lots of data points running really slow
- highcharts have data Labels only on some points
- Is there limit on the number of data points to plot HighChart
- Compare two data points inside the tooltip in a Highcharts combination chart
- HighCharts missing data points on line chart
- How to remove sliced line from pie high chart if there there is only one object in data
- Chart data of object gets overwritten, but only the first object that is interacted with is affected
- Plot Highchart multiple series line chart using JSON data
- Wrong data display when i set multiple series type in highstock chart
- Issue with JSON data encoded from the server, not able to plot the chart
- How to create pie chart with only 1 series data and have background be a circle
- Highcharts display label for pie chart using html table as data source
- Looping data inside highchart.js using type column chart
- Wanted to plot only one spline at the chart load and further add other splines after loading
- Highcharts - Highstock chart showing double line on hovering data points to show tooltip
- Plotting Highcharts Chart from multiple data points in json
- How to update chart only on unique data in HighCharts
- How to plot line chart with series data in highcharts?
- How to Plot chart from two different webform Submission data And Wand to Display annotated point
- Highcharts dynamic set category update the chart but shows only points but not lines
- Highcharts: Is it possible to plot sunburst chart with no data values?
- HighCharts Line Chart draw y axis line for entire line points and only one line
- FusionCharts Failed to draw different chart on same data source
- Change type of points of highchart's scatter chart
- Highcharts cloud issue with data source when duplicating chart
- Is there a specific way to add data points from fetch() after a chart has been built?
More Query from same tag
- Highcharts column drilldown colors exhausted after 9 columns?
- Highcharts column color
- Timelapse graph representation
- Change size of highcharts points on mobile
- Remove weekends from highcharts
- How to remove margin gap in area spline chart for highcharts?
- Highcharts - How to force line chart to be visible above X Axis
- Can I use different if-conditions in Highstock-code?
- HIghmap colorAxis filter dynamic binding
- HighCharts Export Server not creating image
- how to set underline style on subtitle highchart?
- Highmap: trigger hover + show tooltip of country on hover bubble data
- Spacing between the y-axis values in highchart
- Strange result of highchart
- How do I adjust the initial range in hc_navigator
- Multi Color dataLabel in Bar Highchart
- Not able to load local csv data into Highcharts
- Highcharts tick date formatting
- How to detect double clicks or long clicks on points in Highcharts charts?
- Highcharts shift taking off too many points at the start
- Show tooltip of a column chart programmatically in StockChart (highchart)
- min and max axis value not respected in HighCharts chart with a logarithmic axis
- Highcharts columns height in phantomjs generated pdf
- Highcharts - PDF export format issues. Font sizes etc
- Django-Chartit 'source' must either be a QuerySet, Model or Manager
- Highcharts datalabels getting scrambled on drilldown
- Highcharts - bar chart - show series name under bar
- HighCharts: Variwide Column Stacked Chart
- Highcharts Pie Chart Slice Errors
- highcharts scatter 1 second update with user defined lables on x-axis for each point