changer le time datetime dans votre base c'est mieux
et voir dans votre code c'est comme :
format: 'h:mm a',
Le ven. 28 déc. 2018 à 16:04, Shahid Majeed a
écrit :
> After adding viewWindow options i get the following error.
> a.getTime is not a function
>
> actually Time column in my datatable
After adding viewWindow options i get the following error.
a.getTime is not a function
actually Time column in my datatable is date type. might be that is the
reason. here is updated script
google.load('visualization', '1', { packages: ['corechart','bar'],
'language': 'sv' });
excellent
essai ce code dans les options
title: 'Motivation and Energy Level Throughout the Day',
hAxis: {
title: 'Time of Day',
format: 'h:mm a',
viewWindow: {
min: [7, 30, 0],
max: [17, 30, 0]
}
Le ven. 28 déc. 2018 à