I am trying to make a graph that looks like this:
Currently I have this: http://jsfiddle.net/s1uy3rkt/3/
$('#graph_agerange').highcharts({
chart: {
type: 'bar',
height: 140
},
xAxis: {
lineColor: '#ffffff',
tickColor: '#ffffff',
labels: {
align: 'right',
x: -50,
style: {
color: '#444',
fontSize: '14px',
fontWeight: '400',
fontFamily: 'Source Sans Pro'
}
},
categories: ['The Grand Budapest Hotel','Boyhood']
},
yAxis: {
gridLineColor: '#ffffff',
lineColor: '#ffffff',
tickColor: '#ffffff',
labels: {
enabled: false,
},
title: {
text: null
}
},
series: [{
name: "Percent",
borderColor: '#ccd6da',
data: [36,74]
}],
title: {
text: null
},
loading: false
});
How would I: 1) Get the white bar part so that the length of that rectangle is always fixed with the percentage on the right? 2) How do I get the answer to show up inside of the bar?