Index: charted/lib/charts/src/chart_events_impl.dart |
diff --git a/charted/lib/charts/src/chart_events_impl.dart b/charted/lib/charts/src/chart_events_impl.dart |
deleted file mode 100644 |
index 6e2c258b714f0467972d6e34ea36859bac329fba..0000000000000000000000000000000000000000 |
--- a/charted/lib/charts/src/chart_events_impl.dart |
+++ /dev/null |
@@ -1,47 +0,0 @@ |
-// |
-// Copyright 2014 Google Inc. All rights reserved. |
-// |
-// Use of this source code is governed by a BSD-style |
-// license that can be found in the LICENSE file or at |
-// https://developers.google.com/open-source/licenses/bsd |
-// |
- |
-part of charted.charts; |
- |
-class DefaultChartEventImpl implements ChartEvent { |
- @override |
- final ChartArea area; |
- |
- @override |
- final ChartSeries series; |
- |
- @override |
- final MouseEvent source; |
- |
- @override |
- final int column; |
- |
- @override |
- final int row; |
- |
- @override |
- final num value; |
- |
- @override |
- num chartX = 0; |
- |
- @override |
- num chartY = 0; |
- |
- DefaultChartEventImpl(this.source, this.area, |
- [this.series, this.row, this.column, this.value]) { |
- var hostRect = area.host.getBoundingClientRect(), |
- left = area.config.isRTL |
- ? area.theme.padding.end |
- : area.theme.padding.start; |
- if (source != null) { |
- chartX = source.client.x - hostRect.left - left; |
- chartY = source.client.y - hostRect.top - area.theme.padding.top; |
- } |
- } |
-} |