Class PropertyChartEngineLineSimple
- Namespace
- combit.Reporting.Dom
- Assembly
- combit.ListLabel31.CrossPlatform.dll
Provides rendering logic for simple line chart engine and prepares chart segments for rendering.
public class PropertyChartEngineLineSimple : PropertyChartEngineBase
- Inheritance
-
PropertyChartEngineLineSimple
- Derived
- Inherited Members
Constructors
PropertyChartEngineLineSimple(PropertyChartEngineBase)
Wraps an existing line engine DOM item and initializes defaults if required.
public PropertyChartEngineLineSimple(PropertyChartEngineBase item)
Parameters
Properties
Filling
Gets the filling definition.
[JsonInclude]
public PropertyFilling Filling { get; }
Property Value
LinearAxis
Gets or sets whether a linear axis is used.
public string LinearAxis { get; set; }
Property Value
SecondaryValueAxis
Gets the secondary value axis configuration.
[JsonInclude]
public PropertyChartSecondaryValueAxis SecondaryValueAxis { get; }
Property Value
XAxis
Gets the X category axis.
[JsonInclude]
public PropertyCategoryAxisX XAxis { get; }
Property Value
YAxes
Gets the value axis array.
[JsonInclude]
public PropertyValueAxisArray YAxes { get; }
Property Value
Methods
GetEvaluatedXAxisValue()
Gets the X-axis value for the current data point. This method must be overridden in derived classes to provide chart-specific X-axis evaluation logic.
public override ExpressionValue GetEvaluatedXAxisValue()
Returns
- ExpressionValue
An ExpressionValue representing the X-axis coordinate for the current data point.
Exceptions
- NotImplementedException
Thrown when called on the base class. Derived classes must override this method.
GetEvaluatedYAxisValue()
Gets the Y-axis value for the current data point. This method must be overridden in derived classes to provide chart-specific Y-axis evaluation logic.
public override ExpressionValue GetEvaluatedYAxisValue()
Returns
- ExpressionValue
An ExpressionValue representing the Y-axis coordinate for the current data point.
Exceptions
- NotImplementedException
Thrown when called on the base class. Derived classes must override this method.
GetSortingValue()
Gets the sorting value used to order data points during iteration.
public override string GetSortingValue()
Returns
- string
A string representing the sorting criteria.
Exceptions
- NotImplementedException
This method must be overridden in derived classes.
GetXAxisValueFormula()
Retrieves the formula string for the X axis value.
public override string GetXAxisValueFormula()
Returns
- string
The formula string representing the X axis value expression.
GetYAxisValueFormula()
Retrieves the formula string for the Y axis value.
public override string GetYAxisValueFormula()
Returns
- string
The formula string representing the Y axis value expression.
PrepareChartSegment()
Prepares a single chart segment based on the current data point.
public override void PrepareChartSegment()
Exceptions
- NotImplementedException
This method must be overridden in derived classes.
PrepareOtherChartSegment()
Prepares the "others" chart segment for data points that exceed the maximum segment count.
public override void PrepareOtherChartSegment()
Exceptions
- NotImplementedException
This method must be overridden in derived classes.
ResetDataPoints()
Resets all data points to their initial state.
public override void ResetDataPoints()
Exceptions
- NotImplementedException
This method must be overridden in derived classes.
WantsRecord()
Determines whether the consumer wants to process the current data record.
public override bool WantsRecord()
Returns
- bool
trueif the consumer wants to process the current record; otherwise,false.