Package tech.tablesaw.plotly.components
Class Figure
java.lang.Object
tech.tablesaw.plotly.components.Figure
Plotly's graph description places attributes into two categories: traces (objects that describe a
single series of data in a graph like Scatter or Heatmap) and layout attributes that apply to the
rest of the chart, like the title, xaxis, or annotations).
Figure combines the two parts, associating one or more traces with a layout. If the layout is null a default layout is provided.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasJavascript(String divName) protected voidbuildContext(String divName) static Figure.FigureBuilderbuilder()protected StringeventHandlerFunction(String targetName, String divName) Trace[]protected StringplotFunction(String divName) voidvoidsetEventHandlers(EventHandler... handlers) voidvoid
-
Constructor Details
-
Figure
-
Figure
-
Figure
-
Figure
-
-
Method Details
-
divString
-
getLayout
-
setLayout
-
getConfig
-
setConfig
-
getEventHandlers
-
setEventHandlers
-
getTraces
-
setTraces
-
asJavascript
-
buildContext
-
plotFunction
-
eventHandlerFunction
-
getContext
-
builder
-