Highcharts chart option backgroundColor:’transparent’ showing black on IE 8
Can you try this – backgroundColor: null See on: jsfiddle
Can you try this – backgroundColor: null See on: jsfiddle
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, }
Highcharts 3.0.1 Users can use the highcharts plugin var chart=$(“#container”).highcharts(); Highcharts 2.3.4 Read from the Highcharts.charts array, for version 2.3.4 and later, the index of the chart can be found from the data on the <div> var index=$(“#container”).data(‘highchartsChart’); var chart=Highcharts.charts[index]; All versions Track charts in a global object/map by container id var window.charts={}; function foo(){ … Read more
Here’s an example with a line chart: http://jsfiddle.net/aeZ6P/1/ Important part: plotOptions: { line: { marker: { enabled: false } } } See also: https://api.highcharts.com/highcharts/plotOptions.line.marker.enabled Same effect with spline: http://jsfiddle.net/aeZ6P/
Try adding exporting: { enabled: false } to your chart generation.
So after a few hours of digging, I have just found out the culprit (or I really hope so). The problem is your definition of yAxis label formatter: yAxis: { tickInterval: 1, gridLineWidth: 1, labels: { formatter: function() { // THIS IS THE PROBLEM if (tasks[this.value]) { return tasks[this.value].name; } } }, startOnTick: false, endOnTick: … Read more
If you don’t want to show the series names in the legend you can disable them by setting showInLegend:false. example: series: [{ showInLegend: false, name: “<b><?php echo $title; ?></b>”, data: [<?php echo $yaxis; ?>], }] You get other options here. legend options other chart options
Yes, if you set up the series object like the following, where each data point is a hash, then you can pass extra values: new Highcharts.Chart( { …, series: [ { name: ‘Foo’, data: [ { y : 3, myData : ‘firstPoint’ }, { y : 7, myData : ‘secondPoint’ }, { y : 1, … Read more
Highcharts will automatically try to find the best format for the current zoom-range. This is done if the xAxis has the type ‘datetime’. Next the unit of the current zoom is calculated, it could be one of: second minute hour day week month year This unit is then used find a format for the axis … Read more
Setting the title text to an empty string is the way to do it. No space is created for the title in that case: without text: http://jsfiddle.net/jlbriggs/JVNjs/284/ with text: http://jsfiddle.net/jlbriggs/JVNjs/286/ title:{ text:” } If you want less space than is left in that case, simply set your ‘marginTop’ to 0 {{edit due to numerous comments: … Read more