Difference between revisions of "Component: XY Chart (Charts)"
From Flowcode Help
Jump to navigationJump to search| Line 71: | Line 71: | ||
{{Fcfile|Logging_Example.fcsx|Logging Example}} | {{Fcfile|Logging_Example.fcsx|Logging Example}} | ||
| + | |||
| + | |||
| Line 76: | Line 78: | ||
==Macro reference== | ==Macro reference== | ||
| + | ===Clear=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 89: | Line 92: | ||
| + | ===SetMode=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 107: | Line 111: | ||
| + | ===RefreshChart=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 120: | Line 125: | ||
| + | ===AddPoint=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Revision as of 11:48, 3 February 2023
| Author | Steve Tandy |
| Version | 1.1 |
| Category | Charts |
Contents
XY Chart component
A 2d XY scatter chart component.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_ChartXY.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_ChartXY.fcfx
Detailed description
No detailed description exists yet for this component
Examples
A basic App Developer example using two circular knobs to simulate data e.g., temperature. Both xy chart and Console, log the data.
Macro reference
Clear
| Clear | |
| Resets the XY chart and removes all data points. | |
| Return | |
SetMode
| SetMode | |
| Select the mode of operation | |
| bUseArrays | |
| True if data points are added to a hidden buffer; False if data is drawn directly onto chart. | |
| Return | |
RefreshChart
| RefreshChart | |
| Redraws the chart. | |
| Return | |
AddPoint
| AddPoint | |
| Add an XY point to the selected data series. | |
| X | |
| The X coordinate of the data point | |
| Y | |
| The Y coordinate of the data point | |
| Index | |
| The data series (1-8) | |
| Return | |