CartesianChart<TDrawingContext>
Class

Assembly LiveChartsCore
Namespace LiveChartsCore

Summary:
Defines a Cartesian chart.

Type parameters:
TDrawingContext The type of the drawing context.
Inheritance:
Object =>
Chart<TDrawingContext> =>
CartesianChart<TDrawingContext>
Implements:

Constructors

// Initializes a new instance of the CartesianChart`1 class.
ICartesianChartView<TDrawingContext> view, // The view.
Action<LiveChartsSettings> defaultPlatformConfig, // The default platform configuration.
MotionCanvas<TDrawingContext> canvas, // The canvas.
ISizedGeometry<TDrawingContext> zoomingSection// The zooming section.
)

Properties

Gets the x axes.
Type: ICartesianAxis<TDrawingContext>
Gets the y axes.
Type: ICartesianAxis<TDrawingContext>
Gets the sections.
Type: IEnumerable<Section<TDrawingContext>>
Gets the series.
Type: IEnumerable<IChartSeries<TDrawingContext>>
Gets the visible series.
Type: IEnumerable<IChartSeries<TDrawingContext>>
Gets or sets a value indicating whether this instance is zooming or panning.
Type: Boolean
Gets the view.
Type: IChartView<TDrawingContext>
Gets the tool tip meta data.
Type: ToolTipMetaData
Gets the bounds of the chart.
Type: AnimatableContainer
Gets or sets the measure work.
Type: Object
Gets or sets the theme identifier.
Type: Object
Gets whether the control is loaded.
Type: Boolean
Gets or sets a value indicating whether this it is the first draw of this instance.
Type: Boolean
Gets the canvas.
Type: MotionCanvas<TDrawingContext>
The series context
Type: SeriesContext<TDrawingContext>
Gets the size of the control.
Type: LvcSize
Gets the draw margin location.
Type: LvcPoint
Gets the size of the draw margin.
Type: LvcSize
Gets the legend position.
Type: LegendPosition
Gets the legend.
Type: IChartLegend<TDrawingContext>
Gets the toolTip position.
Type: TooltipPosition
Gets the toolTip finding strategy.
Type: TooltipFindingStrategy
Gets the tooltip.
Type: IChartTooltip<TDrawingContext>
Gets the animations speed.
Type: TimeSpan
Gets the easing function.
Type: Func<Single, Single>
Gets the visual elements.
Type: IEnumerable<ChartElement<TDrawingContext>>

Events

Occurs before the chart is measured, this is the first step before the chart updates.
Handler definition: ChartEventHandler<TDrawingContext>
Occurs when the chart started an update, just when the drawing loop started.
Handler definition: ChartEventHandler<TDrawingContext>
Occurs when a chart update finished, just when the drawing loop finished.
Handler definition: ChartEventHandler<TDrawingContext>

Methods

// Finds the points near to the specified location.
LvcPoint pointerPosition// The pointer position.
)
// Scales the specified point to the UI.
LvcPoint point, // The point.
Int32 xAxisIndex, // Index of the x axis.
Int32 yAxisIndex// Index of the y axis.
)
// Zooms to the specified pivot.
LvcPoint pivot, // The pivot.
ZoomDirection direction, // The direction.
Nullable<Double> scaleFactor, // The scale factor.
Boolean isActive//
)
// Pans with the specified delta.
LvcPoint delta, // The delta.
Boolean isActive// Indicates whether the pointer is down.
)
// Unloads the control.
// Updates the chart in the user interface.
ChartUpdateParams chartUpdateParams// *summary not found*
)
// Loads the control resources.
// Adds a visual element to the chart.
ChartElement<TDrawingContext> element// *summary not found*
)
// Removes a visual element from the chart.
ChartElement<TDrawingContext> element// *summary not found*
)
// Gets the legend position.