From 237114c6c4db879dceab7ae0b8ad2515293cc101 Mon Sep 17 00:00:00 2001 From: aleastChs Date: Wed, 16 Aug 2017 12:45:52 +0200 Subject: [PATCH] #79: Try ericaGantt with local GoogleChartsLoaded --- .../scala/spgui/widgets/charts/GoogleChartsLoaded.scala | 7 +++++++ .../scala/spgui/widgets/charts/PatientGanttWidget.scala | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 gui/src/main/scala/spgui/widgets/charts/GoogleChartsLoaded.scala diff --git a/gui/src/main/scala/spgui/widgets/charts/GoogleChartsLoaded.scala b/gui/src/main/scala/spgui/widgets/charts/GoogleChartsLoaded.scala new file mode 100644 index 00000000..09ca78dd --- /dev/null +++ b/gui/src/main/scala/spgui/widgets/charts/GoogleChartsLoaded.scala @@ -0,0 +1,7 @@ +package spgui.widgets.charts + +import scalajs.js + +@js.native +object GoogleChartsLoaded extends js.Object + diff --git a/gui/src/main/scala/spgui/widgets/charts/PatientGanttWidget.scala b/gui/src/main/scala/spgui/widgets/charts/PatientGanttWidget.scala index 6813b160..9eca6c2a 100644 --- a/gui/src/main/scala/spgui/widgets/charts/PatientGanttWidget.scala +++ b/gui/src/main/scala/spgui/widgets/charts/PatientGanttWidget.scala @@ -11,8 +11,7 @@ import spgui.communication._ import spgui.widgets.{API_Patient => apiPatient, API_PatientEvent => api} import spgui.widgets.ToAndFrom import spgui.widgets.css.{WidgetStyles => Styles} -import aleastchs.googleCharts.helpers.chartsHelp.{GoogleChartsLoaded, TimelineHelper, TimelineRow, TimelineOption} -import aleastchs.googleCharts.google +import aleastchs.googleCharts.helpers.chartsHelp.{TimelineHelper, TimelineRow} import scala.scalajs.js