我试图创建一个堆叠的条形图,其中有一列的时间使用谷歌应用程序脚本。就像下面的图表。
我创建了下面的google应用程序脚本代码。但是,这不管用。 .addColumn(Charts.ColumnType.TIMEOFDAY, "B") // TIMEOFDAY is not defined in googlevar chart = Charts.newColumnChart()
.setDataTable(data)
class Product extends Model /** * @var string protected $table = 'products';
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo public function buyerSupplier() return $this->belongsTo('App\Models