score:1
Accepted answer
it's a little hard for me to understand what is purpose for stacking dates? it feels strange for me, so i have disabled stacking and used column-range type, here is live effect: http://jsfiddle.net/p87xf/3/
$(function () {
$('#container').highcharts({
chart: {
inverted: true,
type: 'columnrange'
},
title: {
text: 'stacked bar chart'
},
xaxis: {
categories: ['john']
},
yaxis: {
min: date.utc(2010, 1, 2),
type: 'datetime',
datetimelabelformats: {
day: '%d-%m-%y'
},
title: {
text: 'total fruit consumption'
}
},
legend: {
backgroundcolor: '#ffffff',
reversed: true
},
plotoptions: {
bar:{
//stacking: 'normal',
//pointinterval: 24 * 3600 * 1000
}
},
series: [{
name: 'manager',
data: [[date.utc(2010, 1, 2), date.utc(2014, 20, 01)]]
}, {
name: 'developer',
data: [[date.utc(2010, 1, 2), date.utc(2012, 20, 01)]]
}, {
name: 'tester',
data: [[date.utc(2010, 1, 2), date.utc(2010, 20, 01)]]
}]
});
});
Source: stackoverflow.com
Related Query
- How to make highcharts stacked bar chart start from a specific date
- How to make yAxis start from a specific time with bar series in highchart?
- How to make a pie chart from highcharts responsive
- How to Make a Dashed Bar Chart Border in Highcharts
- How to create chart with highchart in which bar doesn't start from 0 in y axis?
- How to make the Y Axis values not start from 0 in highcharts? How to display forcefully display the last category data on X axis in HighCharts ?
- How to make split grouped column bar chart in highcharts with percentage?
- How can I prepare a Group Stacked Bar Chart in Highcharts using multiple and different types of data?
- Highcharts Chart Bar - How can I display in the chart, only one column from my HTML table?
- How I can Add Start and end point in stacked bar chart in chart js?
- how to make chart real time with 2 line and get data from php with highcharts
- How to plot stacked bar chart in highcharts with dynamic data?
- How to specify a start point on highcharts stacked bar charts
- Highcharts stacked bar chart - how to get the stacks values
- Highcharts stacked bar with datetime, not able to set start date
- How can I pull only specific columns \ cells from csv in <pre> tag, into highcharts pie chart
- How to draw a chart from one array of data and make labels on the chart from another array of data? Highcharts v.4.0.4
- How to make stacked column chart percentages exceed 100% in highcharts
- How do I rotate my HighCharts bar chart so its vertical, not horizontal?
- Highcharts - How to start x axis from an arbitrary value
- How do you remove x-axis labels from a highchart.js bar chart
- Highcharts stacked bar chart hide data labels not to overlap
- how to make specific labels outside gauge chart
- Highcharts Bar Chart - How to set the minimum bar width/length
- Grouping a stacked bar chart in Highcharts
- Highcharts - How can I remove starting and ending padding from area chart
- How do I do a stacked bar chart as a drilldown to a stacked bar chart?
- Highcharts 3.0, area chart with stacked and unstacked series - how to fix?
- Highcharts: How to provide a custom stack label in highcharts bar graph from within the stackLabel formatter?
- How can I prevent my HighChart bar chart from being inverted?
More Query from same tag
- Adding export-to-csv option onto Highcharts chart as a client user?
- Can't see the labels on Pie HighCharts
- Not able to getting highcharts legend label in order
- Tooltips getting cutoff in pie charts in highcharts
- Highcharts nearest point tooltip not show due to undefined series
- how to continue the graph line when missing series of data in middle of highcharts
- PhantomJS PDF DPI scaling issues
- Highcharts don't show data after remove
- how to reduce padding when embedding highcharts?
- Set max value of stacked area as y-axis in highcharts
- $(document).ready() equivalent for rails 3? Need highcharts to load correctly
- Export Table and Chart In PDF In HIGHCHART with ANGULAR
- Highcharts - How to Make the legend item width half of the contianer?
- How can i avoid congestion between x and y axis in my graph with highcharts?
- Displaying array values in Bar chart of HighCharts
- Pie chart properties
- Highcharts: change graph when radio button selected
- Highcharts does not display when a line of PHP header('location...') is added
- Highcharts/Highstock dynamically add/remove multiple series
- Goal line in donut chart
- Change Graph Series Fillcolor in highcharts
- HTML Content to Javascript Code
- Highchart for temperature and humidity does not share tooltip
- How to load custom JSON data into Highcharts mapbubble?
- Highcharts - Unnecessary space issue in pie chart
- add custom drop down menu in highcharts/highstock
- How do I display category names instead of point.y in Highcharts scatterplot?
- Highcharts Line Charts Out of memory
- Combined Stacked Grouped Columns and Line
- in highchars can we give x axis and y axis plots together