score:156
Just add
xAxis: {
...
lineWidth: 0,
minorGridLineWidth: 0,
lineColor: 'transparent',
...
labels: {
enabled: false
},
minorTickLength: 0,
tickLength: 0
}
to the xAxis definition.
Since Version 4.1.9 you can simply use the axis attribute visible
:
xAxis: {
visible: false,
}
score:-1
This has always worked well for me:
yAxes: [{
ticks: {
display: false;
},
score:3
If you doesn't want to touch the config object, you just hide the grid by css:
.chart-container .highcharts-grid {
display: none;
}
score:5
i managed to turn off mine with just
lineColor: 'transparent',
tickLength: 0
score:22
you can also hide the gridline on yAxis as:
yAxis:{
gridLineWidth: 0,
minorGridLineWidth: 0
}
score:28
If you have bigger version than v4.9 of Highcharts you can use visible: false
in the xAxis
and yAxis
settings.
Example:
$('#container').highcharts({
chart: {
type: 'column'
},
title: {
text: 'Highcharts axis visibility'
},
xAxis: {
visible: false
},
yAxis: {
title: {
text: 'Fruit'
},
visible: false
}
});
score:79
For the yAxis
you'll also need:
gridLineColor: 'transparent',
Source: stackoverflow.com
Related Query
- Hide axis and gridlines Highcharts
- Highcharts customising gridlines and axis dashstyle?
- Javascript Highcharts v3.0.5 - How to hide Y Axis Title when using multiple Y Axis
- Highcharts - How to hide series name and Y value in tooltip
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- How to add space between chart and axis in highcharts
- Highcharts blank chart with x and y axis
- Highcharts - Display only year in x axis and stop auto formatting
- Style highcharts x and y axis
- Dual axis using percentage and absolute value to same serie in Highcharts
- Highcharts - Hide child labels in a multiple levels and multiple layouts treemap
- Highcharts - Bar - Setting the X axis width and the chart area width to be constant
- Legend and Axis titles not showing in Highcharts Graph
- Legend and Axis titles not showing in Highcharts Graph
- Highcharts - Global configuration with common code and unique data & Headings
- How to hide color axis in heatmaps using highcharts
- how to pass values to tooltip which not in x and y axis in highcharts
- How can I hide and show a category in highcharts
- Highcharts - Hide series "points" (labels) on both x- and y-axis
- Highcharts - how to create multiple y axis and group the data series
- Is it possible to have two Y Axis in a highstock chart from highcharts one on the left and another on the right?
- how to show column and area charts with different y axis with same category and same x axis in highcharts
- plotBands Hide and Show parameters do not work in Highcharts
- Highcharts multiple x axis and yaxis. The width of the 1st x-axis is not in sync with browser resize
- Highcharts custom scaling on y axis - mix of linear and logarithmic
- Change the legend in highcharts heatmap to show instead of a color bar, a set of fixed icons with hide and show on click
- Highcharts adding additional series and axis breaks existing yAxis min/max
- Highcharts - Xaxis should show only days and month, hide milliseconds
- Can I set a minimum positive and a minimum negative axis value in Highcharts
- Highcharts - three series using left Y axis and the fourth using the right Y axis
More Query from same tag
- Motion Bubble Chart
- How do you change the colour of each category within a highcharts column chart?
- Hicharts data API for line graph using datatime and matching x-axis to y-axis
- Reading a CSV with Highchart
- Creating multiple series in Highcharts within a loop
- Angular Highcharts Radial Bar Chart not working as expected
- In Highcharts, any way we can get the plotWidth and plotHeight before rendering the chart?
- Append a jQuery variable to a click event handler function
- Highcharts: How to extend the x axis beyond the last column
- Highcharts - remove times between dates on a datetime xaxis type
- Highcharts treemap data labels overflow
- How to show real time HighCharts Line Graph data which is receiving by an API?
- HighChart timestamp highlight the time now
- highcharts waterfall not summing correctly
- Erb array not updated after ajax post
- Highstocks individual pane shadow
- Highstock tooltip.positioner isn t working
- How to retain highchart line graph by onClick() function - php mysql
- Highchart general drawing svg label zoom-in on mouse hover
- HighCharts Multi Color
- Highcharts JS 'columnrange' chart value formatting
- how to render angular directive in Highcharts tool tip in Angular8
- Highcharts legend alignments
- Highcharts: show just 1 marker from an arearange type of series
- testing that a json can be rendered as a highchart
- Highcharts 3D Pie color rendering
- canvas image gets blurry
- highcharts,highstock,symbol is undefiend
- In Highcharts can legends be shown as dropdown or option of select all deselect all legends?
- Highcharts: picking points in one chart and have the same points highlight in other charts