score:3
simply change default value of cropthreshold
property from 50 to the value equal or higher than the number of the points in series.
api reference:
http://api.highcharts.com/highcharts/plotoptions.bar.cropthreshold
example:
https://jsfiddle.net/5gjb0cxa/
score:0
it looks like duplicate values are only being plotted once. because you are forcing in the number of data points in the series, this is why you see blanks.
one way to have the chart display the way you want is like this: https://jsfiddle.net/wf_4/vynww178/1/
what i have done here is removed the text from each series point and added it as y-axis categories which the data will be aligned to.
highcharts.chart('container', {
chart: {
type: 'bar',
marginleft: 150
},
title: {
text: 'most popular ideas by april 2016'
},
subtitle: {
text: 'source: <a href="https://highcharts.uservoice.com/forums/55896-highcharts-javascript-api">uservoice</a>'
},
xaxis: {
type: 'category',
title: {
text: null
},
min: 0,
max: 4,
scrollbar: {
enabled: true
},
ticklength: 0,
categories: ['gantt chart',
'autocalculation and plotting of trend lines',
'allow navigator to have multiple data series',
'implement dynamic font size',
'multiple axis alignment control',
'stacked area (spline etc) in irregular datetime series',
'adapt chart height to legend height',
'export charts in excel sheet',
'toggle legend box',
'venn diagram',
'add ability to change rangeselector position',
'draggable legend box',
'sankey diagram',
'add navigation bar for y-axis in highstock',
'grouped x-axis',
'reactjs plugin',
'3d surface charts',
'draw lines over a stock chart',
'data module for database tables',
'draggable points',
'gantt chart',
'autocalculation and plotting of trend lines',
'allow navigator to have multiple data series',
'implement dynamic font size',
'multiple axis alignment control',
'stacked area (spline etc) in irregular datetime series',
'adapt chart height to legend height',
'export charts in excel sheet',
'toggle legend box',
'venn diagram',
'add ability to change rangeselector position',
'draggable legend box',
'sankey diagram',
'add navigation bar for y-axis in highstock',
'grouped x-axis',
'reactjs plugin',
'3d surface charts',
'draw lines over a stock chart',
'data module for database tables',
'draggable points',
'draggable legend box',
'sankey diagram',
'add navigation bar for y-axis in highstock',
'grouped x-axis',
'reactjs plugin',
'3d surface charts',
'draw lines over a stock chart',
'data module for database tables',
'draggable points',
'draggable legend box',
'sankey diagram',
'add navigation bar for y-axis in highstock',
'grouped x-axis',
'reactjs plugin',
'3d surface charts',
'draw lines over a stock chart',
'data module for database tables',
'draggable points'
]
},
yaxis: {
min: 0,
max: 1200,
title: {
text: 'votes',
align: 'high'
}
},
plotoptions: {
bar: {
datalabels: {
enabled: true
}
}
},
legend: {
enabled: false
},
credits: {
enabled: false
},
series: [{
name: 'votes',
data: [
1000,
575,
523,
427,
399,
309,
278,
239,
235,
203,
182,
157,
149,
144,
143,
137,
134,
118,
118,
117,
1000,
575,
523,
427,
399,
309,
278,
239,
235,
203,
182,
157,
149,
144,
143,
137,
134,
118,
118,
117,
157,
149,
144,
143,
137,
134,
118,
118,
117,
157,
149,
144,
143,
137,
134,
118,
118,
117
]
}]
});
<div id="container" style="height: 1000px; min-width: 320px; max-width: 600px; margin: 0 auto"></div>
<script src="https://code.highcharts.com/stock/highstock.js"></script>
<script src="https://code.highcharts.com/stock/modules/exporting.js"></script>
Source: stackoverflow.com
Related Query
- 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
- The continuous update highcharts with more data plotting the continuity is not visible so we need that continuity in the centre of the graph
- Highcharts Drilldown is not show if i have more than 4000 data points
- Highcharts 3 cannot render more than 1000 points in one series
- Resize data points with highcharts
- Highcharts doesn't display series with lots of data points
- Highcharts - Dyanmic graph with no initial data
- Highcharts buggy with more than 999 items in series data?
- Highcharts scatter plot with lots of data points running really slow
- highcharts with null data points
- Creating a line graph with highcharts and data in an external csv
- Highcharts - Global configuration with common code and unique data & Headings
- Show more data on Gauge chart with Highcharts
- Highcharts not displaying series data for graph with multiple Y-axes
- Highcharts - update column graph with setData() not working
- How to Build a Column Chart in Highcharts with Data Entered Dynamically Within a CMS
- HighCharts & MVC: How to load whole graph definition and data with JSON?
- How to Load More Than One CSV Using Highcharts Data Module
- Show data labels on top in stacked column graph in highcharts
- Rendering more than one chart with Highcharts using Angular js Directives
- Draw real time data graph with Highcharts
- Data from MongoDB results with empty Highcharts graph
- Plot a bar graph using Highcharts drilldown with two different JSON end points
- Dynamically graph points with Highcharts
- HighCharts column chart populated with series data from a function
- How to show values in Highcharts tooltip other than x and y when data points are too high?
- Highcharts drilldown with more than one series
- Highcharts Synchronized charts with missing data points
- Highcharts series visibility with csv data source
More Query from same tag
- Highchart pie legend circles
- How to Check and Uncheck all the Legend elements in HighCharts Linechart?
- Highcharts dual axes navigator
- Highcharts: detect if tooltip is being shown
- How to show only weekday on xAxis with Highcharts?
- Updating highcharts gauge with JSON
- highcharts - How do I show/hide secondary y axis based on optional parameter
- HighChart dynamic drill down
- Invalid width on creating hidden highchart
- Change point style on hover over other onpage element
- How to combine highcharts data?
- How to display stacked bars in combination with normal bar in Highcharts?
- stacked bar graph yAxis plotbands width is changing when toggle/add/remove the series dynamically
- Customizing the Stockchart range selector buttons from HighCharts library in GWT (and Javascript in general)
- Highcharts, mixed stacked & non-stacked columns
- HighCharts Boxplot side by side Xaxis
- Set tooltip dynamically in HIGHCHARTS
- How can I pass this array to a javascript function in an html.erb file, without erb evaluating the Date.UTC?
- Double column Highcharts with drilldown
- Error while clicking links on highchart columns
- highcharts crosshairs wont work
- Call a function from within highchart click event in reactjs
- TypeError: Cannot read properties of null (reading '0')
- Highchairs how to prepend HTML to legend
- Export Highcharts code from jsfiddle
- Update chart after every array plot, Highcharts
- HighCharts DataLabels Overlap
- Modifying style for grouped option plugin in Highchart
- Highcharts : draw a chart with data from XMLHttpRequest ()
- Highmaps: how can I show an ordered list of U.S. states with population density