-1
I’m using the Google API to create some financial charts. Currently I have data in which the axis X (horizontal) represents the date and the axis Y (vertical) represents the quotation of the day:
The intervals shown in the following image indicate weekends (Saturday and Sunday), where there are no quotations:
Is there any way, by the Google Graphics API, to remove these days from the view so that the chart looks like this?
Here’s the code to start: http://jsfiddle.net/oam401z0/
I could change the first column to linear generated numerical data instead of dates, remove the caption and generate it on its own... but instead wanted to know if there is a more appropriate or practical way.
Note: I don’t need a solution that works specifically with weekends, there are holidays too, so an idea that would check null values would be better.