Component: Base2dChart (Development): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 93: | Line 93: | ||
|- | |- | ||
| 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" | '''AddCatData''' | ||
|- | |- | ||
| colspan="2" | Adds a data point (y-value only) to the specified series. | | colspan="2" | Adds a data point (y-value only) to the specified series. | ||
| Line 122: | Line 122: | ||
|- | |- | ||
| 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" | '''AddData''' | ||
|- | |- | ||
| colspan="2" | Adds a data point (y-value only) to the specified series. | | colspan="2" | Adds a data point (y-value only) to the specified series. | ||
| Line 146: | Line 146: | ||
|- | |- | ||
| 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" | '''AddDataCXYY1''' | ||
|- | |- | ||
| colspan="2" | Adds a data point to a bubble chart. | | colspan="2" | Adds a data point to a bubble chart. | ||
| Line 185: | Line 185: | ||
|- | |- | ||
| 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" | '''AddDataXY''' | ||
|- | |- | ||
| colspan="2" | Adds a data point (x and y values) to the specified series. | | colspan="2" | Adds a data point (x and y values) to the specified series. | ||
| Line 214: | Line 214: | ||
|- | |- | ||
| 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" | '''AddDataXYY1''' | ||
|- | |- | ||
| colspan="2" | Adds a data point for a ternary chart (3 axes) to the specified series. | | colspan="2" | Adds a data point for a ternary chart (3 axes) to the specified series. | ||
| Line 248: | Line 248: | ||
|- | |- | ||
| 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" | '''ClearData''' | ||
|- | |- | ||
| colspan="2" | Removes all datapoints from the chart. | | colspan="2" | Removes all datapoints from the chart. | ||
| Line 262: | Line 262: | ||
|- | |- | ||
| 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" | '''GetData''' | ||
|- | |- | ||
| colspan="2" | Gets a data point from the specified series. | | colspan="2" | Gets a data point from the specified series. | ||
| Line 286: | Line 286: | ||
|- | |- | ||
| 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" | '''GetDataXY''' | ||
|- | |- | ||
| colspan="2" | Gets a data point from the specified XY reference | | colspan="2" | Gets a data point from the specified XY reference | ||
| Line 315: | Line 315: | ||
|- | |- | ||
| 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 329: | Line 329: | ||
|- | |- | ||
| 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 348: | Line 348: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Data | ||
|- | |- | ||
|- | |- | ||
| Line 376: | Line 376: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Appearance | ||
|- | |- | ||
|- | |- | ||
| Line 410: | Line 410: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | X-axis | ||
|- | |- | ||
|- | |- | ||
| Line 449: | Line 449: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Y-axis | ||
|- | |- | ||
|- | |- | ||
| Line 488: | Line 488: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Y-axis (secondary) | ||
|- | |- | ||
|- | |- | ||
| Line 527: | Line 527: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Data Labels | ||
|- | |- | ||
|- | |- | ||
| Line 566: | Line 566: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Legend | ||
|- | |- | ||
|- | |- | ||
| Line 585: | Line 585: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Series1 | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:37, 13 July 2026
| Author | Steve Tandy |
| Version | 1.1 |
| Category | Development |
Base2dChart component
A base component for creating 2d charts.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Base2dChart.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Base2dChart.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
AddCatData
| AddCatData | |
| Adds a data point (y-value only) to the specified series. | |
| Series | |
| Which series to add to (1-8) | |
| Category | |
| Value | |
| The data point value | |
| Return | |
AddData
| AddData | |
| Adds a data point (y-value only) to the specified series. | |
| Series | |
| Which series to add to (1-8) | |
| Value | |
| The data point value | |
| Return | |
AddDataCXYY1
AddDataXY
AddDataXYY1
ClearData
| ClearData | |
| Removes all datapoints from the chart. | |
| Return | |
GetData
| GetData | |
| Gets a data point from the specified series. | |
| Series | |
| Which series to add to (1-8) | |
| Index | |
| The data point index (1 - 32767) | |
| Return | |
GetDataXY
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 | |