Reputation: 573
How to write a code to draw google chart of the time bar. The bar has a start point and the length, and a function like TimeBar(start time, duration). Have looked for the sample codes on Google, but no lucky. Thanks.
Upvotes: 0
Views: 241
Reputation: 45720
If you're using Charts Services in Google Apps Script, you are limited to the chart types provided by the service. You won't be able to create your specific visualization there.
In HTML / Javascript, you might be able to get close to what you want using the technique described in this answer.
Using the Google Chart Tools outside of Apps Script, you can create your own Chart App or Gadget, using the Google Visualization API.
How do I create a new Chart gadget? The best way to get started is to first get familiar with the Developers Guide, and then read the Gadget Extensions section and start coding.
Upvotes: 1