Jump to content

Component: Base2dChart (Development): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 14: Line 14:
==Base2dChart component==
==Base2dChart component==
A base component for creating 2d charts.
A base component for creating 2d charts.
==Component Pack==
FREE


==Detailed description==
==Detailed description==




Line 26: Line 32:


==Examples==
==Examples==





Revision as of 16:16, 7 January 2022

Author Steve Tandy
Version 1.1
Category Development


Base2dChart component

A base component for creating 2d charts.

Component Pack

FREE

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Downloadable macro reference

AddDataXYY1
Adds a data point for a ternary chart (3 axes) to the specified series. 
- BYTE Series
Which series to add to (1-8) 
- FLOAT xValue
The value on the first axis 
- FLOAT yValue
The value on the second axis 
- FLOAT zValue
The value on the third axis 
- VOID Return


AddData
Adds a data point (y-value only) to the specified series. 
- BYTE Series
Which series to add to (1-8) 
- FLOAT Value
The data point value 
- VOID Return


AddDataXY
Adds a data point (x and y values) to the specified series. 
- BYTE Series
Which series to add to (1-8) 
- FLOAT xValue
The x coordinate for the data point 
- FLOAT yValue
The y coordinate for the data point 
- VOID Return


AddCatData
Adds a data point (y-value only) to the specified series. 
- BYTE Series
Which series to add to (1-8) 
- STRING Category
 
- FLOAT Value
The data point value 
- VOID Return


SetMode
Select the mode of operation 
- BOOL bUseArrays
True if data points are added to a hidden buffer; False if data is drawn directly onto chart. 
- VOID Return


ClearData
Removes all datapoints from the chart. 
- VOID Return


SetValue
Sets the component to the specified value. 
- FLOAT value
A new value for the component. 
- VOID Return


RefreshChart
Redraws the chart. 
- VOID Return


GetData
Gets a data point from the specified series. 
- BYTE Series
Which series to add to (1-8) 
- INT Index
The data point index (1 - 32767) 
- FLOAT Return


AddDataCXYY1
Adds a data point to a bubble chart. 
- BYTE Series
Which series to add to (1-8) 
- STRING Category
 
- FLOAT Y
Y coordinate 
- FLOAT X
X coordinate 
- FLOAT Value
The value of the data point 
- VOID Return



Property reference

Properties
Categories
 
Y Values
 
X Values
 
Z Values
 
Title
 
Style
 
Stacking
 
Fill Gradient
 
Transparency
 
Data Between Ticks
 
Name
 
Show Grid
 
Auto-scale
 
Start
 
End
 
Logarithmic
 
Scalable
 
Name
 
Show Grid
 
Auto-scale
 
Start
 
End
 
Logarithmic
 
Scalable
 
Name
 
Show Grid
 
Auto-scale
 
Start
 
End
 
Logarithmic
 
Scalable
 
Show
 
Show Category
 
Show Value
 
Show Percentage
 
Show Series
 
Angle
 
Position
 
Position
 
Draw Border
 
Select Series
 
Series Name
 
Visible
 
Secondary Axis
 
Line Style
 
Line Type
 
Line Width
 
Shadow
 
Fill
 
Show Marker
 
Marker Shape
 
Marker Size
 
Series Name
 
Visible
 
Secondary Axis
 
Line Style
 
Line Type
 
Line Width
 
Shadow
 
Fill
 
Show Marker
 
Marker Shape
 
Marker Size
 
Series Name
 
Visible
 
Secondary Axis
 
Line Style
 
Line Type
 
Line Width
 
Shadow
 
Fill
 
Show Marker
 
Marker Shape
 
Marker Size
 
Series Name
 
Visible
 
Secondary Axis
 
Line Style
 
Line Type
 
Line Width
 
Shadow
 
Fill
 
Show Marker
 
Marker Shape
 
Marker Size
 
Series Name
 
Visible
 
Secondary Axis
 
Line Style
 
Line Type
 
Line Width
 
Shadow
 
Fill
 
Show Marker
 
Marker Shape
 
Marker Size
 
Series Name
 
Visible
 
Secondary Axis
 
Line Style
 
Line Type
 
Line Width
 
Shadow
 
Fill
 
Show Marker
 
Marker Shape
 
Marker Size
 
Series Name
 
Visible
 
Secondary Axis
 
Line Style
 
Line Type
 
Line Width
 
Shadow
 
Fill
 
Show Marker
 
Marker Shape
 
Marker Size
 
Series Name
 
Visible
 
Secondary Axis
 
Line Style
 
Line Type
 
Line Width
 
Shadow
 
Fill
 
Show Marker
 
Marker Shape
 
Marker Size
 
nSeries
 
dXVal
 
dYVal
 
dY1Val
 
sYCat
 
bUseArrays
 
fnAddCatValue
 
fnClearData
 
fnAddValueCXYY1
 
fnAddValueXYY1
 
fnGetValue
 
fnGetValueXY
 
fnRefreshChart
 
Connections
Simulations