comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java @ 2936:a805118fffa6

Fixed zooming in navigatable charts. flys-client/trunk@4885 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 06 Jul 2012 11:38:56 +0000
parents c48e3df12c4a
children 725470fc57d2
comparison
equal deleted inserted replaced
2935:6cf983dd4f8a 2936:a805118fffa6
74 74
75 /** The ThemePanel to expose control over themes (facettes). */ 75 /** The ThemePanel to expose control over themes (facettes). */
76 protected ChartThemePanel ctp; 76 protected ChartThemePanel ctp;
77 77
78 /** The canvas that wraps the chart toolbar. */ 78 /** The canvas that wraps the chart toolbar. */
79 protected Canvas tbarPanel; 79 protected ChartToolbar tbarPanel;
80 80
81 /** The canvas that wraps the theme editor. */ 81 /** The canvas that wraps the theme editor. */
82 protected Canvas left; 82 protected Canvas left;
83 83
84 /** The canvas that wraps the chart. */ 84 /** The canvas that wraps the chart. */
627 627
628 return url; 628 return url;
629 } 629 }
630 630
631 631
632 public Map getChartAttributes() { 632 public Map <String, String> getChartAttributes() {
633 Map<String, String> attr = new HashMap<String, String>(); 633 Map<String, String> attr = new HashMap<String, String>();
634 634
635 Canvas chart = getChartPanel(); 635 Canvas chart = getChartPanel();
636 attr.put("width", chart.getWidth().toString()); 636 attr.put("width", chart.getWidth().toString());
637 attr.put("height", chart.getHeight().toString()); 637 attr.put("height", chart.getHeight().toString());

http://dive4elements.wald.intevation.org