score:24
Accepted answer
The default values for the gridLineWidth
is 1
for yAxis and 0
for xAxis, resulting in only the horizontal lines showing. What you need to do is to set the width to 1
for both x and y.
yAxis: {
gridLineWidth: 1 // The default value, no need to change it
},
xAxis: {
gridLineWidth: 1 // New value
},
Example on jsfiddle:
Source: stackoverflow.com
Related Query
- display vertical lines and horizontal lines on plots
- add vertical and horizontal lines in hplot (rcharts)
- Draw vertical lines and horizontal bands
- High Charts - Gradients on both Vertical and horizontal
- How to use the tooltip formatter and still display chart color (like it does by default)?
- Drawing horizontal lines parallel to x axis using highcharts.js
- How to draw vertical lines on Highcharts graph?
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- Series markers disable on lines and enable on legend in Highchart
- display content on highcharts Xaxis and Yaxis title in form of subscript and superscript
- Ajax and Highcharts - Display 'loading' until data is retrieved, then populate chart
- Highcharts - Display only year in x axis and stop auto formatting
- Highcharts - Global configuration with common code and unique data & Headings
- I want gird lines of x-axis and y-axis in highcharts but i don't want x-axis value and y-axis value
- How to add Highchart Bar lines and lables?
- Highcharts doesn't expand <div> to proper height in Chrome/Safari and doesn't display at all in Firefox
- display pie chart using highcharts api and mysql
- How do you show grid lines for both x axis and y axis in highchart?
- *Highchart* Disable Chart Title and display when Download/Print
- Highcharts - synchronized-charts crosshair line and circle point display
- highcharts gantt display as bar instead of lines
- how to display 2 same highcharts without duplicate the code
- How do i make connectors (lines connecting datalabels) of piechart in Highcharts look straight lines and not curved?
- How to display all dates with a given Start Date and End Date even if there is no data?
- How to do In highchart tooltip display the first 100 characters and then say "See more .."?
- HighCharts - Add vertical lines from a desire point
- How do I display multiple charts automatically with PHP and MYSQL?
- Remove first and last grid lines in highcharts?
- Highcharts - Display the noData overlay and the x-axis labels
- Display HighStock y-axis and its labels on the right of the series
More Query from same tag
- How to apply the Renderer text() function multiple times to a Highcharts chart?
- Want to move y-axis scrollbar with mouse wheel in highcharts/highstock
- Multiple highchart with similar structure in R
- Highcharts (highcharts-ng) with ng-repeat worked, But need to pass the data for each chart from the attributes
- Highchart angular overflows container
- Highchart Bubble Chart Shadow
- Drag legend out of Highchart
- Highlight highcharts bars on mouse hover events
- highstock dual axis tooltip placement
- How can I set the units on multiple axis on Highcharts
- Multiple highcharts at same page based on clientId value?
- HighStock: One navigator to control two xAxis?
- Highchart solid gauge: trigger click on the grey area
- Cannot read property 'info' of undefined
- using gauges in ionic 3
- Highcharts - How to separate the functionality of the navigator from the graph
- HighCharts: Labels visible over tooltip frame
- How can I display my high-chart correctly and import data?
- R Highcharter: Formatting dual y-Axis chart
- Full Screen broken - Stock Tools
- Highcharts 3.0 'invisible' columns
- Highcharts Bubble Chart Hover Color
- Change title when drilldown in Highcharts
- Get x and y value of a series in highcharts when curve is being plotted
- Highcharts exporting functionality
- HighCharts :(Solid Gauge) How to generate gauge dial with an arrow end.
- $(document).ready() equivalent for rails 3? Need highcharts to load correctly
- How to show multiple pie charts using highcharts
- HighCharts - Angular 7 - Sunburst drillup event not triggering
- How to render a vertical line when the mouse cursor is on the chart using highcharts?