ICEfaces 3.1.0
Java API Documentation

org.icefaces.ace.model.chart
Class SectorSeries

java.lang.Object
  extended by org.icefaces.ace.model.chart.ChartSeries
      extended by org.icefaces.ace.model.chart.SectorSeries

public class SectorSeries
extends ChartSeries

Copyright 2010-2011 ICEsoft Technologies Canada Corp.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

User: Nils Date: 12-05-03 Time: 1:29 PM


Nested Class Summary
static class SectorSeries.SectorType
           
 
Nested classes/interfaces inherited from class org.icefaces.ace.model.chart.ChartSeries
ChartSeries.ChartType
 
Constructor Summary
SectorSeries()
           
 
Method Summary
 void add(java.lang.String key, java.lang.Object val)
           
 JSONBuilder getConfigJSON(javax.faces.component.UIComponent component)
           
 JSONBuilder getDataJSON(javax.faces.component.UIComponent chart)
           
 java.lang.String getDataLabels()
          Get the slice labels of this series.
 ChartSeries.ChartType getDefaultType()
           
 java.lang.Boolean getShowDataLabels()
          Get whether or not labels are rendered over each slice of the pie.
 java.lang.Integer getSliceMargin()
          Set gap size between each slice.
 void setDataLabels(java.lang.String dataLabels)
          Set the slice labels of this series
 void setShowDataLabels(java.lang.Boolean showDataLabels)
          Set whether or not labels are rendered over each slice of the pie.
 void setSliceMargin(java.lang.Integer sliceMargin)
          Get gap size between each slice.
 
Methods inherited from class org.icefaces.ace.model.chart.ChartSeries
clear, getData, getFill, getFillToZero, getLabel, getLineCap, getLineJoin, getLineWidth, getShadow, getShadowAlpha, getShadowAngle, getShadowDepth, getShadowOffset, getShow, getShowMarker, getType, getUseNegativeColors, getXAxis, getYAxis, setData, setFill, setFillToZero, setLabel, setLineCap, setLineJoin, setLineWidth, setShadow, setShadowAlpha, setShadowAngle, setShadowDepth, setShadowOffset, setShow, setShowMarker, setType, setUseNegativeColors, setXAxis, setYAxis
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SectorSeries

public SectorSeries()
Method Detail

getDefaultType

public ChartSeries.ChartType getDefaultType()
Specified by:
getDefaultType in class ChartSeries

add

public void add(java.lang.String key,
                java.lang.Object val)

getDataJSON

public JSONBuilder getDataJSON(javax.faces.component.UIComponent chart)
Overrides:
getDataJSON in class ChartSeries

getConfigJSON

public JSONBuilder getConfigJSON(javax.faces.component.UIComponent component)
Overrides:
getConfigJSON in class ChartSeries

getDataLabels

public java.lang.String getDataLabels()
Get the slice labels of this series.

Returns:
"percent", "value" or a comma separated array of labels.

setDataLabels

public void setDataLabels(java.lang.String dataLabels)
Set the slice labels of this series

Parameters:
dataLabels - "percent", "value" or a comma separated array of labels

getShowDataLabels

public java.lang.Boolean getShowDataLabels()
Get whether or not labels are rendered over each slice of the pie.

Returns:
slice label visibility

setShowDataLabels

public void setShowDataLabels(java.lang.Boolean showDataLabels)
Set whether or not labels are rendered over each slice of the pie.

Parameters:
showDataLabels - slice label visibility

getSliceMargin

public java.lang.Integer getSliceMargin()
Set gap size between each slice.

Returns:
size in degrees

setSliceMargin

public void setSliceMargin(java.lang.Integer sliceMargin)
Get gap size between each slice.

Parameters:
sliceMargin - size in degress

ICEfaces 3.1.0
Java API Documentation

Copyright 2012 ICEsoft Technologies Canada Corp., All Rights Reserved.