OHOS::UIChartDataSerial
Description:
Defines a data set and provides functions such as adding and deleting data points.
Since:
1.0
Version:
1.0
A constructor used to create a UIChartDataSerial instance. |
|
A destructor used to delete the UIChartDataSerial instance. |
|
Sets the maximum number of data points that can be stored in a data set. |
|
ModifyPoint (uint16_t , const Point &point) |
|
(uint16_t index, &point) |
Obtains the coordinates in the chart for a data point in the data set. |
AddPoints (const data, uint16_t count) |
|
ClearData () |
|
Obtains the number of data points available in the data set. |
|
IsSmooth () const |
|
IsGradient () const |
|
GetLatestIndex () const |
Obtains the index of the frontmost point (the latest added or modified data point in a data set). |
GetPeakData () const |
|
GetLineColor () const |
|
GetFillColor () const |
|
SetFillColor (const &color) |
|
SetLineColor (const &color) |
|
HidePoint (uint16_t , uint16_t count) |
|
GetHideIndex () const |
|
SetHeadPointStyle (const &style) |
|
SetTopPointStyle (const &style) |
|
SetBottomPointStyle (const &style) |
|
GetHeadPointStyle () const |
|
GetTopPointStyle () const |
|
GetBottomPointStyle () const |
|
EnableHeadPoint (bool enable) |
Enables the feature of drawing the frontmost point on a polyline. |
Enables the feature of drawing the top point of a polyline. If there are multiple top points, only the first one is drawn. |
|
EnableBottomPoint (bool enable) |
Enables the feature of drawing the bottom point of a polyline. If there are multiple bottom points, only the first one is drawn. |
operator delete (void *p) |