com.googlecode.wickedcharts.highcharts.options
Class CssStyle

java.lang.Object
  extended by com.googlecode.wickedcharts.highcharts.options.CssStyle
All Implemented Interfaces:
Serializable

public class CssStyle
extends Object
implements Serializable

Option to allow CSS styles in a chart.

Author:
Matthias Balke
See Also:
http://api.highcharts.com/highcharts#chart.style, Serialized Form

Constructor Summary
CssStyle()
           
 
Method Summary
 Map<String,String> getProperties()
           
 String getProperty(String key)
           
 CssStyle setProperty(String key, String value)
          Sets a CSS property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CssStyle

public CssStyle()
Method Detail

getProperties

public Map<String,String> getProperties()

getProperty

public String getProperty(String key)

setProperty

public CssStyle setProperty(String key,
                            String value)
Sets a CSS property.

Parameters:
key - the name of the property. Note that hyphen notation ("-") is automatically converted into camel case notation since the property name is used as key in a JSON object. Highcharts will evaluate it as if it were hyphen notation.
value - the value of the CSS property.
Returns:
this for chaining.


Copyright © 2013. All Rights Reserved.