XuniChartLineMarker Class Reference

Inherits from NSObject
Declared in ChartLineMarker.h

Overview

Class XuniChartLineMarker.

  positionChanged

Gets or sets the positionChanged event.

@property (nonatomic) XuniEvent<XuniEventArgs*> *positionChanged

Discussion

Gets or sets the positionChanged event.

Declared In

ChartLineMarker.h

  lines

Gets or sets the type of lines.

@property (nonatomic) XuniChartMarkerLines lines

Discussion

Gets or sets the type of lines.

Declared In

ChartLineMarker.h

  interaction

Gets or sets the type of marker interaction.

@property (nonatomic) XuniChartMarkerInteraction interaction

Discussion

Gets or sets the type of marker interaction.

Declared In

ChartLineMarker.h

  alignment

Gets or sets the label alignment.

@property (nonatomic) XuniChartMarkerAlignment alignment

Discussion

Gets or sets the label alignment.

Declared In

ChartLineMarker.h

  dragContent

If the Interaction is Drag, this property determines if the user can drag the label.

@property (nonatomic) BOOL dragContent

Discussion

If the Interaction is Drag, this property determines if the user can drag the label.

Declared In

ChartLineMarker.h

  isVisible

Gets or sets whether line marker is visible.

@property (nonatomic) BOOL isVisible

Discussion

Gets or sets whether line marker is visible.

Declared In

ChartLineMarker.h

  horizontalPosition

Gets or sets the horizontal position of the line marker relative to the plot area.

@property (nonatomic) double horizontalPosition

Discussion

Gets or sets the horizontal position of the line marker relative to the plot area.

Declared In

ChartLineMarker.h

  verticalPosition

Gets or sets the vertical position of the line marker relative to the plot area.

@property (nonatomic) double verticalPosition

Discussion

Gets or sets the vertical position of the line marker relative to the plot area.

Declared In

ChartLineMarker.h

  x

Gets the current x-value as chart data coordinates.

@property (readonly) double x

Discussion

Gets the current x-value as chart data coordinates.

Declared In

ChartLineMarker.h

  y

Gets the current y-value as chart data coordinates.

@property (readonly) double y

Discussion

Gets the current y-value as chart data coordinates.

Declared In

ChartLineMarker.h

  seriesIndex

Gets or sets the index of the series in the chart in which the line marker appears.

@property (nonatomic) int seriesIndex

Discussion

Gets or sets the index of the series in the chart in which the line marker appears.

Declared In

ChartLineMarker.h

  content

Gets or sets the content of the marker.

@property (nonatomic) XuniChartMarkerBaseView *content

Discussion

Gets or sets the content of the marker.

Declared In

ChartLineMarker.h

  horizontalLineWidth

Gets or sets the width of the horizontal line.

@property (nonatomic) double horizontalLineWidth

Discussion

Gets or sets the width of the horizontal line.

Declared In

ChartLineMarker.h

  horizontalLineColor

Gets or sets the color of the horizontal line.

@property (nonatomic) UIColor *horizontalLineColor

Discussion

Gets or sets the color of the horizontal line.

Declared In

ChartLineMarker.h

  verticalLineWidth

Gets or sets the width of the vertical line.

@property (nonatomic) double verticalLineWidth

Discussion

Gets or sets the width of the vertical line.

Declared In

ChartLineMarker.h

  verticalLineColor

Gets or sets the color of the vertical line.

@property (nonatomic) UIColor *verticalLineColor

Discussion

Gets or sets the color of the vertical line.

Declared In

ChartLineMarker.h

  dataPoints

Gets or sets the data points.

@property (nonatomic) NSArray *dataPoints

Discussion

Gets or sets the data points.

Declared In

ChartLineMarker.h

  firstShow

@exclude.

@property (readonly) BOOL firstShow

Discussion

@exclude.

Declared In

ChartLineMarker.h

  isShowXFContent

@exclude.

@property (readonly) BOOL isShowXFContent

Discussion

@exclude.

Declared In

ChartLineMarker.h

– initWithChart:

Initialize an object for the XuniChartLineMarker.

- (id)initWithChart:(FlexChart *)chart

Parameters

chart

the chart.

Return Value

an object for the XuniChartLineMarker.

Discussion

Initialize an object for the XuniChartLineMarker.

Declared In

ChartLineMarker.h

– showAt:yPos:

Show line marker at the specified position.

- (void)showAt:(double)xPos yPos:(double)yPos

Parameters

xPos

the x position.

yPos

the y position.

Discussion

Show line marker at the specified position.

Declared In

ChartLineMarker.h

– hide

Hide the line marker.

- (void)hide

Discussion

Hide the line marker.

Declared In

ChartLineMarker.h

– calculateContentPosition:

Determine the position for the given content.

- (XuniPoint *)calculateContentPosition:(XuniSize *)contentSize

Parameters

contentSize

the size of the content.

Return Value

position for content.

Discussion

Determine the position for the given content.

Declared In

ChartLineMarker.h