Component: Line 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 40: | Line 40: | ||
|- | |- | ||
| 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 to the chart | | colspan="2" | Add to the chart | ||
| Line 69: | Line 69: | ||
|- | |- | ||
| 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" | Remove all data from the chart | | colspan="2" | Remove all data from the chart | ||
| Line 83: | Line 83: | ||
|- | |- | ||
| 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" | '''ClearSeries''' | ||
|- | |- | ||
| colspan="2" | Remove all data from a series in the chart | | colspan="2" | Remove all data from a series in the chart | ||
| Line 102: | Line 102: | ||
|- | |- | ||
| 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" | '''Redraw''' | ||
|- | |- | ||
| colspan="2" | Redraw the chart | | colspan="2" | Redraw the chart | ||
| Line 116: | Line 116: | ||
|- | |- | ||
| 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" | '''SetChartTitle''' | ||
|- | |- | ||
| colspan="2" | Sets the title text for the chart | | colspan="2" | Sets the title text for the chart | ||
| Line 135: | Line 135: | ||
|- | |- | ||
| 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" | '''SetSeriesName''' | ||
|- | |- | ||
| colspan="2" | Sets the name for a series | | colspan="2" | Sets the name for a series | ||
| Line 159: | Line 159: | ||
|- | |- | ||
| 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" | '''SetSeriesNames''' | ||
|- | |- | ||
| colspan="2" | Sets the number of series and all of their names | | colspan="2" | Sets the number of series and all of their names | ||
| Line 183: | Line 183: | ||
|- | |- | ||
| 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" | '''SetSeriesVisible''' | ||
|- | |- | ||
| colspan="2" | Shows or hides a series | | colspan="2" | Shows or hides a series | ||
| Line 207: | Line 207: | ||
|- | |- | ||
| 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" | '''SetXAxis''' | ||
|- | |- | ||
| colspan="2" | Sets the X axis name and bounds | | colspan="2" | Sets the X axis name and bounds | ||
| Line 241: | Line 241: | ||
|- | |- | ||
| 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" | '''SetYAxis''' | ||
|- | |- | ||
| colspan="2" | Sets the Y axis name and bounds | | colspan="2" | Sets the Y axis name and bounds | ||
| Line 276: | Line 276: | ||
|- | |- | ||
| 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 | |
| Version | 1.2 |
| Category | Charts |
Line Chart component
Version information
Library Version, Component Version, Date, Author, Info 4, 1.0, 18-02-25, ST, Max series now 8, plus several new macros 5, 1.1, 27-01-26, ST, Charts and Gauges now consolidated into single load function 6, 1.2, 13-02-26, ST, Added Ev_Initialising to correctly set properties when loading
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
AddPoint
| AddPoint | |
| Add to the chart | |
| x | |
| X value to plot | |
| y | |
| Y value to plot | |
| index | |
| Series index (1-8) | |
| Return | |
ClearData
| ClearData | |
| Remove all data from the chart | |
| Return | |
ClearSeries
| ClearSeries | |
| Remove all data from a series in the chart | |
| SeriesId | |
| The id of the series (1 - 8) | |
| Return | |
Redraw
| Redraw | |
| Redraw the chart | |
| Return | |
SetChartTitle
| SetChartTitle | |
| Sets the title text for the chart | |
| Text | |
| The new title for the chart | |
| Return | |
SetSeriesName
| SetSeriesName | |
| Sets the name for a series | |
| SeriesId | |
| The number of series to rename | |
| SeriesName | |
| The new name for the series | |
| Return | |
SetSeriesNames
| SetSeriesNames | |
| Sets the number of series and all of their names | |
| SeriesCount | |
| The number of series to plot (1-8) | |
| SeriesNames | |
| Comma-separated list of series names | |
| Return | |
SetSeriesVisible
| SetSeriesVisible | |
| Shows or hides a series | |
| SeriesId | |
| The number of the series to show or hide (1-8) | |
| Show | |
| True to show, false to hide | |
| Return | |
SetXAxis
SetYAxis
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_Chart_Line.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Chart_Line.fcsx