001 package echopoint.style.google.chart;
002
003 import static echopoint.google.chart.BarChart.PROPERTY_HEIGHT;
004 import static echopoint.google.chart.BarChart.PROPERTY_SIZE;
005 import static echopoint.google.chart.BarChart.PROPERTY_WIDTH;
006
007 /**
008 * A default style class for the {@link echopoint.google.chart.BarChart}
009 * component.
010 *
011 * @author Rakesh Vidyadharan 2009-05-18
012 * @version $Id: BarChartStyle.java 208 2009-05-25 02:40:35Z sptrakesh $
013 */
014 public class BarChartStyle extends AdvancedChartStyle
015 {
016 private static final long serialVersionUID = 1L;
017
018 /** {@inheritDoc} */
019 @Override
020 protected void init()
021 {
022 super.init();
023
024 set( PROPERTY_SIZE, "10,5,15" );
025 set( PROPERTY_WIDTH, get( PROPERTY_HEIGHT ) );
026 }
027 }