C# 클래스 LiveCharts.ChartFunctions

Contains useful methods to apply to a chart
파일 보기 프로젝트 열기: beto-rodriguez/Live-Charts 1 사용 예제들

공개 메소드들

메소드 설명
FromPlotArea ( double value, AxisOrientation source, ChartCore chart, int axis ) : double

Converts from chart control size to chart values.

GetTooltipData ( LiveCharts.ChartPoint senderPoint, ChartCore chart, TooltipSelectionMode selectionMode ) : TooltipDataViewModel

Returns data in the chart according to:

GetUnitWidth ( AxisOrientation source, ChartCore chart, AxisCore axis ) : double

Gets the width of a unit in the chart

GetUnitWidth ( AxisOrientation source, ChartCore chart, int axis ) : double

Gets the width of a unit in the chart

ToDrawMargin ( LiveCharts.ChartPoint point, int axisXIndex, int axisYIndex, ChartCore chart ) : CorePoint

Converts from chart values to chart draw margin size.

ToDrawMargin ( double value, AxisOrientation source, ChartCore chart, AxisCore axis ) : double

Converts from chart values to chart draw margin size.

ToDrawMargin ( double value, AxisOrientation source, ChartCore chart, int axis ) : double

Converts from chart values to chart draw margin size.

ToPlotArea ( double value, AxisOrientation source, ChartCore chart, AxisCore axis ) : double

Converts from chart values to chart control size.

ToPlotArea ( double value, AxisOrientation source, ChartCore chart, int axis ) : double

Converts from chart values to chart control size.

메소드 상세

FromPlotArea() 공개 정적인 메소드

Converts from chart control size to chart values.
public static FromPlotArea ( double value, AxisOrientation source, ChartCore chart, int axis ) : double
value double value to scale
source AxisOrientation axis orientation to scale value at
chart LiveCharts.Charts.ChartCore chart model to scale value at
axis int axis index in collection of chart.axis
리턴 double

GetTooltipData() 공개 정적인 메소드

Returns data in the chart according to:
public static GetTooltipData ( LiveCharts.ChartPoint senderPoint, ChartCore chart, TooltipSelectionMode selectionMode ) : TooltipDataViewModel
senderPoint LiveCharts.ChartPoint point that was hovered
chart LiveCharts.Charts.ChartCore chart model to get the data from
selectionMode TooltipSelectionMode selection mode
리턴 LiveCharts.Dtos.TooltipDataViewModel

GetUnitWidth() 공개 정적인 메소드

Gets the width of a unit in the chart
public static GetUnitWidth ( AxisOrientation source, ChartCore chart, AxisCore axis ) : double
source AxisOrientation axis orientation
chart LiveCharts.Charts.ChartCore chart model to get the scale at
axis AxisCore axis instance
리턴 double

GetUnitWidth() 공개 정적인 메소드

Gets the width of a unit in the chart
public static GetUnitWidth ( AxisOrientation source, ChartCore chart, int axis ) : double
source AxisOrientation axis orientation
chart LiveCharts.Charts.ChartCore chart model to get the scale at
axis int axis index in the axes collection
리턴 double

ToDrawMargin() 공개 정적인 메소드

Converts from chart values to chart draw margin size.
public static ToDrawMargin ( LiveCharts.ChartPoint point, int axisXIndex, int axisYIndex, ChartCore chart ) : CorePoint
point LiveCharts.ChartPoint point to scale
axisXIndex int axis orientation
axisYIndex int axis instance to scale the value at
chart LiveCharts.Charts.ChartCore chart model to scale the value at
리턴 CorePoint

ToDrawMargin() 공개 정적인 메소드

Converts from chart values to chart draw margin size.
public static ToDrawMargin ( double value, AxisOrientation source, ChartCore chart, AxisCore axis ) : double
value double value to scale
source AxisOrientation axis orientation
chart LiveCharts.Charts.ChartCore chart model to scale the value at
axis AxisCore axis instance to scale the value at
리턴 double

ToDrawMargin() 공개 정적인 메소드

Converts from chart values to chart draw margin size.
public static ToDrawMargin ( double value, AxisOrientation source, ChartCore chart, int axis ) : double
value double value to scale
source AxisOrientation axis orientation
chart LiveCharts.Charts.ChartCore chart model to scale the value at
axis int axis instance to scale the value at
리턴 double

ToPlotArea() 공개 정적인 메소드

Converts from chart values to chart control size.
public static ToPlotArea ( double value, AxisOrientation source, ChartCore chart, AxisCore axis ) : double
value double value to scale
source AxisOrientation axis orientation to scale value at
chart LiveCharts.Charts.ChartCore chart model to scale value at
axis AxisCore axis model instance
리턴 double

ToPlotArea() 공개 정적인 메소드

Converts from chart values to chart control size.
public static ToPlotArea ( double value, AxisOrientation source, ChartCore chart, int axis ) : double
value double value to scale
source AxisOrientation axis orientation to scale value at
chart LiveCharts.Charts.ChartCore chart model to scale value at
axis int axis index in collection of chart.axis
리턴 double