blob: 66722d99d34c18087f4b68c1a2c50c7587f4c0fc [file] [log] [blame]
// Copyright 2022 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
export * from '@parallax/index';
import {ParallaxError} from '@parallax/common/error';
import {newPlot} from '@parallax/interface/plot_row';
// Print errors to the console
ParallaxError.enableLogs();
window.onload = () => {
console.log('Started');
newPlot();
};
google.charts.load('current', {
'packages': ['bar', 'controls', 'corechart', 'line', 'table', 'timeline'],
});
google.charts.setOnLoadCallback(() => {
console.log('Charts loaded');
});