Difference between revisions of "Component: XY Chart (Charts)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Steve Tandy |- | width="20%" style="color:gray;" | Version | 1.1 |- | width="20%" style="color:gra...") |
|||
| Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 36: | Line 38: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| Line 46: | Line 50: | ||
{{Fcfile|Logging_Example.fcsx|Logging Example}} | {{Fcfile|Logging_Example.fcsx|Logging Example}} | ||
| − | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
Revision as of 14:10, 20 January 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 for the component source code: 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 | |
| Resets the XY chart and removes all data points. | |
| Return | |
| 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 | |
| Redraws the chart. | |
| Return | |
| 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 | |