score:23
You will need to change your missing values to null, and specify that you want a line/spline through the existing values.
var chart = new Highcharts.Chart({
chart: {
defaultSeriesType: 'line',
renderTo: 'container'
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
series: [{
data: [29.9, null, 106.4, 129.2, 144.0, 176.0, null, 148.5, 216.4, 194.1, 95.6, 54.4],
}]
});
see http://jsfiddle.net/xynZT/ with defaultSeriesType: 'spline' as an example.
score:1
It's not displaying incorrectly its just plotting a scatter plot. I thinks this is because you don't have a complete series it will be treated like that. I possible, and this depends that your data doesn't use negative number, try to put the collection of no data a 0 such that you have data: [29.9, 0, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
and this will display a line.
Source: stackoverflow.com
Related Query
- missing value in highcharts line graph results in no line, just points
- HighCharts missing data points on line chart
- Show only discontinuous points in Highcharts line graph
- how to continue the graph line when missing series of data in middle of highcharts
- Highcharts displays series names but missing data points from json source
- Get y-value of points along the generated line graph in Highcharts
- How do I get the value of a highcharts graph point on mouseover?
- How do I set highcharts line graph point colors to an array of colors?
- Creating a line graph with highcharts and data in an external csv
- highcharts zero values results in graph half way instead at the bottom
- Highcharts reversed line chart is partially hidden at min value
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- How to change area graph color above certain value in Highcharts
- Highcharts hide connected line between individual points
- highcharts zoomable 6 month line graph
- Highcharts - Change line color between points
- Highcharts - Line Graph Marker Rendering Unreliable?
- Bottom (xaxis) line of Highcharts graph should disappear
- Don't interpolate between missing values in Highcharts line chart?
- How to change space value between grid and yAxis in Highcharts line chart
- Display multiple points with exact same value in scatter HighCharts
- Highcharts highstocks - candlestick graph has last value partially cut
- how can i add in highcharts a different dashStyle just for a part of the graph
- Highcharts line and points are shown only on mouse hover
- Highcharts change symbol and hover text of individual points Line Chart
- Highcharts - programmatically draw a line or graphic between two related points
- How to make legend color show up in Highcharts for a line graph under certain conditions?
- Highcharts Graph displaying 0 value continuously : Javascript Array
- HIghcharts column graph with more than 50 data points
- Highcharts line chart all points disappear when have more than one points with same X Axis
More Query from same tag
- sort/arrange on date in dashboard
- Highcharts Boxplots How to get five point summary?
- How to plot new chart from already displayed highchart series
- Add label to line in Highcharts
- Highcharts Sankey Colors not working in django
- highcharter heatmap not following hc_coloraxis when there's negative values
- Opacity Highcharts pie chart IE8
- Dynamically feeding the column based highcharts from json assosiative array in jquery?
- How can I apply a radial gradient for 3d but ONLY for particular charts?
- Highcharts redraw previous line still exist
- HighCharts stackLabels visible with hidden yAxis
- How to build query and to make chart in Yii2 using highchart?
- Highcharts - Sankey chart not displaying all the data when series font increased
- How to programatically (Python) scrape streaming live stock chart ticker data and its indicators
- Show only three levels of highchart Sunburst always on each click in Angular8
- How Can I remove the extension Gridline from my graph?
- Getting the complete XML source out of an XML DOM object
- How to get the DOM properties from event.target, so I can compare them?
- No data to display in highcharts showing up with the data in Bubble Chart
- Remove TickInterval on drillDown in highcharts
- how to reset Highchart chart width in percentage on Button click
- Slice For Highchart
- How to disable approximation in HighchartJS?
- Highstock get color of Candle in grouped data series
- Highcharts Double Click To Select
- Network Graph - Is there a way to hide a specific node on click in network graph?
- Set Custom icon to context menu for multiple charts (Highcharts)
- Highcharts in AngularJS with inline variables (using Pablojim's Highchart-ng)
- Convert javascript datetime object to the format acceptable by highcharts Date.UTC(2014, 0, 2)
- Issue on Highchaert Fill Opacity and Legend Color on Spiderweb