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
- How do I open a new window / tab by clicking on a column / bar within a Highchart graph?
- Unable to iterate through an array. Showing length as zero
- Combine bullet and line chart in highcharts
- How to dynamically set title in Pie Chart of Highcharts
- Highcharts / Highstock datetime null data connected even with connectNulls: false
- Highcharts Stacked Bar: How to remove spacing between bars
- json_encode returning the next rows values - PHP PDO SQL HighCharts
- Highcharts - stacked columns by category
- Is there any option in Highcharts for simplifyng a line graph?
- Highcharts - Annotations outside plot area (top/bottom)- doesn't show up
- High charts showing the composition of count as tooltip
- issue on Adding Multi Text To Chart in Highcharts
- getting data from another function to display highcharts in angular
- Disabled points not hide. [Highcharts]
- Highcharts json php multiple series
- Is there a way to cap Highchart's Gauge at the max
- Unable to Dragend Navigator handles in HighStock
- Highcharts - async drill-down in tree-map with thousands of items
- How to access React hook state in Highcharts event listener
- Highcharts problems
- Display marker or images inside bars of barchart in Highcharts
- Highcharts loading all data with xaxis simplified
- Highcharts renders blank svg in rails
- Highcharts library UI glitches
- Highchart generate array series
- Alternating x-Axis plotbands with highstock
- Use django variable (array of elements from sqlite3 database) inside javascript embedded code
- Edit click event on Highcharts Legend
- Add labels to columns in highcharts pie chart legend
- Highchairs how to prepend HTML to legend