Class C3JsTypesFactory
- java.lang.Object
-
- org.dashbuilder.renderer.c3.client.jsbinding.C3JsTypesFactory
-
@ApplicationScoped public class C3JsTypesFactory extends Object
Build C3 JS Types
-
-
Constructor Summary
Constructors Constructor Description C3JsTypesFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description C3AxisInfoc3AxisInfo(boolean rotated, C3AxisX axisX, C3AxisY axisY)C3AxisXc3AxisX(String type, String[] categories, C3Tick tick)C3AxisYc3AxisY(boolean show, C3Tick tickY)C3ChartConfc3ChartConf(C3ChartSize size, C3ChartData data, C3AxisInfo axis, C3Grid grid, C3Transition transition, C3Point point, C3Padding padding, C3Legend legend, C3Color color)C3ChartDatac3ChartData(String[][] columns, String type, String[][] groups, elemental2.core.JsObject xs, C3Selection selection)C3ChartSizec3ChartSize(double width, double height)C3Colorc3Color(String[] pattern)C3Colorc3Color(String[] pattern, C3Threshold threshold)C3Donutc3Donut(String holeTitle)C3Gaugec3Gauge(int min, int max)C3Gridc3Grid(boolean showX, boolean showY)C3Legendc3Legend(boolean show, String position)C3Paddingc3Padding(int top, int right, int bottom, int left)C3Pointc3Point(C3Point.RadiusCallback r)C3Selectionc3Selection(boolean enabled, boolean multiple, boolean grouped)C3Thresholdc3Threshold(int[] values)C3Tooltipc3Tooltip(C3Format.FormatCallback callback)C3Transitionc3Transition(int duration)C3AxisLabelcreateC3Label(String text, String position)C3TickcreateC3Tick(C3Tick.FormatterCallback callback)
-
-
-
Method Detail
-
createC3Tick
public C3Tick createC3Tick(C3Tick.FormatterCallback callback)
-
c3Grid
public C3Grid c3Grid(boolean showX, boolean showY)
-
c3Padding
public C3Padding c3Padding(int top, int right, int bottom, int left)
-
c3ChartSize
public C3ChartSize c3ChartSize(double width, double height)
-
c3Selection
public C3Selection c3Selection(boolean enabled, boolean multiple, boolean grouped)
-
c3Point
public C3Point c3Point(C3Point.RadiusCallback r)
-
c3ChartData
public C3ChartData c3ChartData(String[][] columns, String type, String[][] groups, elemental2.core.JsObject xs, C3Selection selection)
-
c3AxisInfo
public C3AxisInfo c3AxisInfo(boolean rotated, C3AxisX axisX, C3AxisY axisY)
-
c3ChartConf
public C3ChartConf c3ChartConf(C3ChartSize size, C3ChartData data, C3AxisInfo axis, C3Grid grid, C3Transition transition, C3Point point, C3Padding padding, C3Legend legend, C3Color color)
-
c3Transition
public C3Transition c3Transition(int duration)
-
createC3Label
public C3AxisLabel createC3Label(String text, String position)
-
c3Color
public C3Color c3Color(String[] pattern, C3Threshold threshold)
-
c3Threshold
public C3Threshold c3Threshold(int[] values)
-
c3Gauge
public C3Gauge c3Gauge(int min, int max)
-
c3Tooltip
public C3Tooltip c3Tooltip(C3Format.FormatCallback callback)
-
-