simple, my dear Watson:
1. start with declaring column type
google.visualization.arrayToDataTable
([[{label: "Data", type: "date"},
2. populate dates like:
[new Date('2021-01-04'), 0, 0, 0],
...but. it took me quite some time to figure it out!
On Tuesday, March 15, 2022 at 7:25:42 AM UTC+1 [email protected] wrote:
> Hi, is it possible with Google Chart to add a trendline to LineChart graph
> with two data series distributed by data in X-axis, like: ['2021-12-29',
> 4.65, 1.65] ? It seems not possible in my lab...
>
> thanks, Thomas
>
>
--
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
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/b93fe974-fa6b-487e-adf1-d9404528f93dn%40googlegroups.com.