org.zkoss.zkmax.zul.fusionchart.config
Class PieChartConfig

java.lang.Object
  extended by org.zkoss.zkmax.zul.fusionchart.config.AbstractChartConfig
      extended by org.zkoss.zkmax.zul.fusionchart.config.PieChartConfig
All Implemented Interfaces:
ChartConfig, ChartInfoNotifier

public class PieChartConfig
extends AbstractChartConfig

The pie chart property lets you control a variety of functional elements on the chart with {link org.zkoss.zul.PieModel}.

All property of chart, please refer to the following reference document.
Pie 2D Chart.
Pie 3D Chart.

Since:
6.0.1
Author:
jimmy

Field Summary
static java.lang.String CATEGORY_PROPERTY_COLOR
          Properties key used in Category Properties.
static java.lang.String CATEGORY_PROPERTY_IS_SLICED
          Properties key used in Category Properties.
static java.lang.String PROPERTY_PIE_BORDER_COLOR
           
 
Fields inherited from class org.zkoss.zkmax.zul.fusionchart.config.AbstractChartConfig
props
 
Constructor Summary
PieChartConfig()
           
 
Method Summary
 CategoriesPropertiesMap getCategoryPropertiesMap()
          Return the category config.
 int getPieFillAlpha()
          Returns the alpha for all the pies on the chart.
 void setPieFillAlpha(int pieFillAlpha)
          Sets the alpha for all the pies on the chart.
 
Methods inherited from class org.zkoss.zkmax.zul.fusionchart.config.AbstractChartConfig
addChartDataListener, addPropertyListener, getBgAlpha, getBgColor, getChartProperties, initChartProperties, isAnimation, removeChartDataListener, removePropertyListener, setAnimation, setBgAlpha, setBgColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_PIE_BORDER_COLOR

public static final java.lang.String PROPERTY_PIE_BORDER_COLOR
See Also:
Constant Field Values

CATEGORY_PROPERTY_COLOR

public static java.lang.String CATEGORY_PROPERTY_COLOR
Properties key used in Category Properties. "color"


CATEGORY_PROPERTY_IS_SLICED

public static java.lang.String CATEGORY_PROPERTY_IS_SLICED
Properties key used in Category Properties. "isSliced" The key to set specified cateogry is sliced from others or not. Accpeted value: "1" and "0" . Note: it takes no effect in 3D PieChart

Constructor Detail

PieChartConfig

public PieChartConfig()
Method Detail

getPieFillAlpha

public int getPieFillAlpha()
Returns the alpha for all the pies on the chart.


setPieFillAlpha

public void setPieFillAlpha(int pieFillAlpha)
Sets the alpha for all the pies on the chart.

Parameters:
pieFillAlpha -

getCategoryPropertiesMap

public CategoriesPropertiesMap getCategoryPropertiesMap()
Return the category config.



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo