My dataTable for timeline chart like this:
dataTable.addColumn({ type: 'string', id: 'Term' }); -> just
number (ex. 1, 2, 3....)
dataTable.addColumn({ type: 'string', id: 'Name' });
dataTable.addColumn({ type: 'date', id: 'Start' });
dataTable.addColumn({ type: 'date', id: 'End' });
And I want to use ChartRangeFilter with Timeline chart like below image.
However, I can't display timeline chart with those errors :
One or more participants failed to draw()
The filter cannot operate on a column of type string. Column type must be
one of: number, date, datetime or timeofday. Column role must be domain,
and correlate to a continuous axis
To fix the errors, I excluded 'Term' and 'Name'.
Then the error message changed like this :
One or more participants failed to draw()
Invalid data table format: must have 3 or 4 data columns.
Timeline chart must have 3 or 5 data columns... So I tried to put 'Term' as
number, then the error changed like this again:
One or more participants failed to draw()
Invalid data table format: column #0 must be of type 'string'
...
...
Is there really no way to use the ChartRange filter and Timeline chart at
the same time?
I need help. Please..
+) I'm not a native English speaker... so I ask for your understanding.
--
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/1de5b8d5-c600-4277-9d0b-e8646b8c7791%40googlegroups.com.