function getChartOptions (chartType, containerId, hAxisLabel, vAxisLabel, format, percentageHeight, percentageWidth) {
var calcedHeight = Math.round((this.parentDiv.clientHeight / 100) * percentageHeight);
var calcedWidth = Math.round((this.parentDiv.clientWidth / 100) * percentageWidth);
return {
'chartType': chartType,
'containerId': containerId,
'options': {
'height': calcedHeight,
'width': calcedWidth,
'series': { 0:{color: '#2b6bae', visibleInLegend: true, pointSize: 3},
1:{color: '#69aa51', visibleInLegend: true, pointSize: 3}},
'title': '',
'vAxis': {
'title': vAxisLabel,
'titleTextStyle': {color: '#666666'} },
'format': '#.##',
'hAxis': {
'gridlines': {'color': 'transparent'},
'slantedText': 'true',
'slantedTextAngle': '90',
'title': hAxisLabel,
'format': format,
'titleTextStyle': {color: '#666666'} },
'legend': {position:'bottom'},
'chartArea': {top: 10, right: 0, bottom: 0}
}};
}