Component: XY Chart (Charts): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| Line 88: | Line 88: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''AddPoint''' | ||
|- | |- | ||
| colspan="2" | Add an XY point to the selected data series. | | colspan="2" | Add an XY point to the selected data series. | ||
| Line 117: | Line 117: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Clear''' | ||
|- | |- | ||
| colspan="2" | Resets the XY chart and removes all data points. | | colspan="2" | Resets the XY chart and removes all data points. | ||
| Line 131: | Line 131: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''RefreshChart''' | ||
|- | |- | ||
| colspan="2" | Redraws the chart. | | colspan="2" | Redraws the chart. | ||
| Line 145: | Line 145: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetMode''' | ||
|- | |- | ||
| colspan="2" | Select the mode of operation | | colspan="2" | Select the mode of operation | ||
| Line 165: | Line 165: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
Revision as of 14:23, 13 July 2026
| Author | Steve Tandy |
| Version | 1.1 |
| Category | Charts |
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
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 | |
Clear
| Clear | |
| Resets the XY chart and removes all data points. | |
| Return | |
RefreshChart
| RefreshChart | |
| Redraws the chart. | |
| 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 | |