score:5
Accepted answer
You can hide the symbols using legend options:
legend: {
symbolPadding: 0,
symbolWidth: 0,
symbolHeight: 0,
squareSymbol: false
},
Highcharts.chart('container', {
legend: {
symbolPadding: 0,
symbolWidth: 0,
symbolHeight: 0,
squareSymbol: false
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}, {
type: 'column',
data: [95.6, 54.4, 29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1]
}]
});
<script src="https://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 400px"></div>
score:4
One workout is by giving .001 to hide symbol
legend: {
symbolHeight: .001,
symbolWidth: .001,
symbolRadius: .001
},
score:9
You can hide it simply using css.
This worked for me
Square and circle:
.highcharts-legend-item rect{
display:none;
}
Line :
.highcharts-legend-item path {
display: none;
}
Source: stackoverflow.com
Related Query
- Is it possible to hide the line & symbol next to Highcharts legend items?
- Hide or Disable Legend or Label in the end Highcharts line
- HighCharts Hide Series Name from the Legend
- Highcharts - How to display legend symbol inside the tooltip
- Is it possible to hide the navigator in highcharts at runtime?
- Is it possible in highcharts to have 2 charts, sharing the same x-axis, but next to one another?
- highcharts legend items align to the left when width is set
- Is it possible to set Highcharts to hide tooltip when the mouse pointer is 30px away
- Possible to force Highcarts to use the circle symbol for all the series in a line graph?
- 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 -> how to add vertical title to bar? how to make the symbol in the legend a rectangle?
- How do i color the highcharts legend square symbol when my chart has multiple color entries
- highcharts hide the chart except the legend
- Highcharts - Is it possible to display the my own text on the data-labels of line chart?
- highcharts Line color in the chart, in the legend and in the tooltip do not match
- Highcharts Pie chart: how to hide the legend for all but the three highest values
- Highcharts legend items on one line and overlapping
- Is it possible to have the line chart data points in highcharts to be represented as a rectangle instead of a circle?
- HighCharts : Is it possible to customize the colors of individual series?
- Hide line in default state in Highcharts
- Hiding a Highcharts series without using the legend
- How to hide labels in the highcharts in the pie
- Highcharts: Make the legend symbol a square or rectangle
- Highcharts => Getting the id of a point when clicking on a line chart
- Highcharts - How to programmatically toggle legend items and determine which items are selected
- Is it possible to position Highcharts dataLabels depending on the value?
- How can i hide all the Series in highcharts at a time
- Highcharts - Legend Positioning outside the chart
- Possible to connect the zoom on two Highcharts graphs?
- Display legend items in two columns highcharts
More Query from same tag
- javascript array object doesn't work with Hicharts when defined through jinja (Django 2.0)
- Show HighCharts tooltip when chart loads
- Getting the complete XML source out of an XML DOM object
- Dynamically update highchart series in meteor
- SVGRenderer function
- I tried to add colors to X-Axis labels without success
- Width and show issue when use highchart
- Manipulate arrays into different formats
- Need a single border for stacked bar graph in Highcharts
- Highcharts threshold background color from 100 y-axis
- Highcharts: How to change or redraw a chart when a click event occurs on an another chart?
- Series overlap in Highcharts
- Make a boxplot in highchart with a date object in the x axis
- Calculate the 85th percentile for yAxis in highcharts
- Distribution graph in HighCharts
- Add custom tooltip for x axis label on hover action
- Stock tools interacting with another chart/component
- Highcharts - Highstock chart showing double line on hovering data points to show tooltip
- Highcharts xAxis multiple colors
- HighCharts synchronisation tooltip effect other chart
- react-highcharts: Cannot set property 'HighchartsAdapter' of undefined
- Need assistance adding an additional series to a Highcharts graph using a SharePoint list and PSServices
- Highcharts Solid Gauge with min number NOT zero
- Library duplication issue using Highcharts in Jaspersoft Studio
- How to get total of highcharts multiple series
- Highcharts Line Chart does not fit data into all of categories
- Highchart polar with additional pie series below
- How to set values in JavaScript (Highcharts) using PHP
- R Highcharter - X-axis names turning to index in graph
- Highcharts: Auto-scale rendered shape along with chart?