Class ChartsWidget

java.lang.Object
io.keikaiex.ui.widget.BaseWidget
io.keikaiex.ui.widget.ChartsWidget
All Implemented Interfaces:
Widget, Serializable

public class ChartsWidget extends BaseWidget
A ChartWidget to show chart in spreadsheet. The implementation of this widget is Chart, you can get Chart component by call BaseWidget.getComponent()
Author:
henrichen@zkoss.org, dennis , refine to new chart model
See Also:
  • Constructor Details

    • ChartsWidget

      public ChartsWidget(SSheet sheet, SChart chartInfo, String panel, int zindex)
  • Method Details

    • getInnerComponent

      protected org.zkoss.zk.ui.Component getInnerComponent()
      Overrides:
      getInnerComponent in class BaseWidget
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • isThreeD

      public boolean isThreeD()
    • setThreeD

      public void setThreeD(boolean enabled)
    • setWidth

      public void setWidth(Number width)
    • getWidth

      public Number getWidth()
    • setHeight

      public void setHeight(Number height)
    • getHeight

      public Number getHeight()
    • invalidate

      public void invalidate()
      Specified by:
      invalidate in class BaseWidget
    • createChart

      public ZssCharts createChart(SChart chartInfo)
    • getWidgetType

      public String getWidgetType()
      Description copied from class: BaseWidget
      Returns the widget type.
      Specified by:
      getWidgetType in class BaseWidget
      Returns:
      the widget type.
    • getName

      public String getName()
      Description copied from class: BaseWidget
      Returns the name.
      Specified by:
      getName in class BaseWidget
      Returns:
      the name
    • setName

      public void setName(String name)
      Description copied from class: BaseWidget
      Sets the name.
      Specified by:
      setName in class BaseWidget
    • getChartComponent

      public ZssCharts getChartComponent()
      Internal used only