score:1
This is a little hacky (maybe I've just been using d3.js too much lately) but you could modify the SVG on the fly:
, function(chart){
// remove the line and rect
$('.highcharts-legend-item path, .highcharts-legend-item rect').remove();
// add in your own elements
$('.highcharts-legend-item').each(function(i, obj){
var circle = document.createElementNS('http://www.w3.org/2000/svg', 'circle');
$(circle).attr({"r":10,"fill":"red", "cy": 10});
$(obj).append(circle);
});
});
Fiddle here.
score:1
worked out this now.
see http://jsfiddle.net/ttxvpduv/2/
Highcharts.seriesTypes.line.prototype.drawLegendSymbol =
Highcharts.seriesTypes.column.prototype.drawLegendSymbol;
Source: stackoverflow.com
Related Query
- How to set highchart legend style?
- How to set PointIntervals per month in HighChart
- Highcharts: how to set legend label name after chart created?
- How to change series legend text color in HighChart chart?
- Highchart / Highstock how to set color of individual ohlc or candle?
- How to set series-label to false by default and change the color of series label text in highchart
- How to add Legend in highchart compare stock chart
- How to color series legend in highcharts when colorbypoint is set to true
- How to set border in column chart - Highchart
- Highcharts server side image generation, how to set up legend labelFormatter in callback argument
- How to add radio button in highchart legend symbol
- How to set Highchart datetime format to minute?
- How do I set the highchart gantt headers as fixed when I scroll vertically
- How can I set the legend symbol color for a series when using colorByPoint?
- How to set a Maximum yAxis range for HighChart graph?
- How to set the highchart and the table horizontally?
- How to set Precision-ToolTip in Highchart
- How to add a line break in Highchart legend in R?
- how to set chart in center on full screen view in highchart
- How can I style highchart select to look like hover?
- Highchart - set a line style ( width, color...) on selection
- how to add data from database and set it to data serie in highchart C#
- How do I set a custom style to given stacked columns?
- How to set highchart global options IN R
- How to style Highchart data table and make it responsive?
- how to set the height of subtitle in highchart without defining height of the container?
- How to toggle legend layout in highchart
- how to set underline style on subtitle highchart?
- Highchart How to set pie chart sliced distance gap wider to one another
- How to set an option in Highchart inactive by default
More Query from same tag
- Highstock - Draw Line on yAxis in front of the chart
- Highcharts not updating data on ajax response data
- highcharts from HTML table does not getting the x axis key
- How i set actual value of xAxis in tooltip of highcharts
- Make gap size proportional to gap in series data
- Removing Extended Wrap Method From Highcharts.wrap
- AngularJS $resource caching with deferreds
- Highcharts Pie Chart Slice Errors
- Highstocks - how to detect when zoom button is pressed
- How to parse and create JSON tuples with php
- How to make buttons filter different data based on a category they select in Highcharts heatmap?
- Highcharts border
- Highcharts - yAxis logarithmic scale and allowDecimals set to false not seeming to have any effect
- Trying to load data from a textfield to highchart
- Plotting multiple series in single Highcharts plot from JSON
- How do I make the title blank disappear for a highchart spider chart?
- How to include data from point in Highcharts xAxis label?
- Exporting with custom data label image in highcharts gantt
- Highcharts duplicated code
- get json data from my controller in highcharts.js
- Highcharts Packed Bubble Not Scaling Properly
- highcharts-ng model data not working
- Highcharts polygon with no fill
- Highchart logarithmic X axis fail without zero values nor threshold under zero nor minimum
- Highchart heatmap plot x-axis on time and y-axis on string
- Is it possible to have multiple highcharts with one id?
- highcharts organization chart is throwing error when loading module
- Angular HighChart in tabs width
- Highstocks add n number of series to chart in rails
- Set Highchart cursor/pointer with a click on a gmap polyline point