[visualization-api] Has anyone used firebase real-time database to store google chart (timeline) data ?

2017-10-27 Thread Chukkrit Visitsaktavorn
Has anyone used firebase real-time database to store google chart (timeline) data? And how do you struct the chart data? -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from

[visualization-api] Has anyone store timeline data used firebase real-time database?

2017-10-27 Thread Chukkrit Visitsaktavorn
Has anyone store timeline data used firebase real-time database? And how do you struct the chart data? -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email

[visualization-api] Re: Can i use color from row data to replace the timeline chart ?

2017-10-18 Thread Chukkrit Visitsaktavorn
Ok I found the answer just add column with role 'style' dataTable.addColumn({ type: 'string', id: 'Station' }); dataTable.addColumn({ type: 'string', id: 'Order no.' }); dataTable.addColumn({ type: 'string', role: 'style' }); dataTable.addColumn({ type: 'date', id: 'Start' });

[visualization-api] Can i use color from row data to replace the timeline chart ?

2017-10-15 Thread Chukkrit Visitsaktavorn
dataTable.addRows([ ['1', 'Order 1','#EE7752',new Date(2017, 9, 15, 8, 0, 0), new Date(2017, 9, 15, 9, 30, 0)], ['1', 'Order 2','#EE7752', new Date(2017, 9, 15, 9, 30, 0), new Date(2017, 9, 15, 15, 30, 0)], ['1', 'Order 3','#EE7752', new Date(2017, 9, 15, 16, 0, 0), new Date(2017, 9, 15, 17,