Package io.data2viz.charts.chart.mark.internal

Types

CurveDelegate
Link copied to clipboard
common
class CurveDelegate(markConfig: MarkConfig) : HasCurve
(INTERNAL) Configure & use the PathDrawer to draw curves.
FillDelegate
Link copied to clipboard
common
class FillDelegate<DOMAIN>(dataset: Dataset<DOMAIN>, markConfig: MarkConfig) : HasFill<DOMAIN>
(INTERNAL) Configure & use the Dimension used to translate an element from the dataset into a color.
LabelDelegate
Link copied to clipboard
common
class LabelDelegate<DOMAIN>(dataset: Dataset<DOMAIN>, markConfig: MarkConfig) : HasLabel<DOMAIN>
(INTERNAL) Configure & use the Dimension used to translate an element from the dataset into a Label.
LinePoint
Link copied to clipboard
common
data class LinePoint(x: Double?, y: Double?, stroke: ColorOrGradient?, strokeLine: DoubleArray?, strokeWidth: Double?)
(INTERNAL) Use this to store every properties of a line point, in order to draw a path.
SizeDelegate
Link copied to clipboard
common
class SizeDelegate<DOMAIN>(dataset: Dataset<DOMAIN>, markConfig: MarkConfig) : HasSize<DOMAIN>
(INTERNAL) Configure & use the Dimension used to translate an element from the dataset into a size.
StrokeColorDelegate
Link copied to clipboard
common
class StrokeColorDelegate<DOMAIN>(dataset: Dataset<DOMAIN>, markConfig: MarkConfig) : HasStrokeColor<DOMAIN>
(INTERNAL) Configure & use the Dimension used to translate an element from the dataset into a color.
StrokeLineDelegate
Link copied to clipboard
common
class StrokeLineDelegate<DOMAIN>(dataset: Dataset<DOMAIN>, markConfig: MarkConfig) : HasStrokeLine<DOMAIN>
(INTERNAL) Configure & use the Dimension used to translate an element from the dataset into a line dash style.
StrokeWidthDelegate
Link copied to clipboard
common
class StrokeWidthDelegate<DOMAIN>(dataset: Dataset<DOMAIN>, markConfig: MarkConfig) : HasStrokeWidth<DOMAIN>
(INTERNAL) Configure & use the Dimension used to translate an element from the dataset into a stroke thickness.
SymbolDelegate
Link copied to clipboard
common
class SymbolDelegate<DOMAIN>(dataset: Dataset<DOMAIN>, markConfig: MarkConfig) : HasSymbol<DOMAIN>
(INTERNAL) Configure & use the Dimension used to translate an element from the dataset into a Symbols.

Functions

drawLine
Link copied to clipboard
common
fun DrawingZone.drawLine(points: List<LinePoint>, curve: PathDrawer, joinMissingValues: Boolean)
(INTERNAL) Draw a curve from a list of points.
drawPlot
Link copied to clipboard
common
fun DrawingZone.drawPlot(x: Double, y: Double, symbol: Symbols?, size: Double?, stroke: ColorOrGradient?, fill: ColorOrGradient?, strokeWidth: Double?)
(INTERNAL) Draw a simple plotting symbol (sign) on this DrawingZone.
plotZone
Link copied to clipboard
common
fun plotZone(x: Double, y: Double, size: Double): Zone
(INTERNAL) Create a very simple CircleZone for a given sign drawn as a "plot" sign.