Component: Line Chart ( Charts)

From Flowcode Help
Revision as of 08:59, 9 June 2025 by Wiki bot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Author
Version 1.0
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


Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Macro reference

AddPoint

Fc9-comp-macro.png AddPoint
Add to the chart 
Fc9-f32-icon.png - FLOAT x
X value to plot 
Fc9-f32-icon.png - FLOAT y
Y value to plot 
Fc9-u8-icon.png - BYTE index
Series index (1-8) 
Fc9-void-icon.png - VOID Return


ClearData

Fc9-comp-macro.png ClearData
Remove all data from the chart 
Fc9-void-icon.png - VOID Return


ClearSeries

Fc9-comp-macro.png ClearSeries
Remove all data from a series in the chart 
Fc9-s32-icon.png - LONG SeriesId
The id of the series (1 - 8) 
Fc9-void-icon.png - VOID Return


Redraw

Fc9-comp-macro.png Redraw
Redraw the chart 
Fc9-void-icon.png - VOID Return


SetChartTitle

Fc9-comp-macro.png SetChartTitle
Sets the title text for the chart 
Fc9-string-icon.png - STRING Text
The new title for the chart 
Fc9-void-icon.png - VOID Return


SetSeriesName

Fc9-comp-macro.png SetSeriesName
Sets the name for a series 
Fc9-s32-icon.png - LONG SeriesId
The number of series to rename 
Fc9-string-icon.png - STRING SeriesName
The new name for the series 
Fc9-void-icon.png - VOID Return


SetSeriesNames

Fc9-comp-macro.png SetSeriesNames
Sets the number of series and all of their names 
Fc9-u8-icon.png - BYTE SeriesCount
The number of series to plot (1-8) 
Fc9-string-icon.png - STRING SeriesNames
Comma-separated list of series names 
Fc9-void-icon.png - VOID Return


SetSeriesVisible

Fc9-comp-macro.png SetSeriesVisible
Shows or hides a series 
Fc9-s32-icon.png - LONG SeriesId
The number of the series to show or hide (1-8) 
Fc9-bool-icon.png - BOOL Show
True to show, false to hide 
Fc9-void-icon.png - VOID Return


SetXAxis

Fc9-comp-macro.png SetXAxis
Sets the X axis name and bounds 
Fc9-string-icon.png - STRING Text
The new name for the axis (pass empty string to keep existing name) 
Fc9-bool-icon.png - BOOL Autoscale
Set true to autoscale the axis (ignores the Max and Min values) 
Fc9-f32-icon.png - FLOAT Min
New minimum value for the axis (ignored if Autoscale is true) 
Fc9-f32-icon.png - FLOAT Max
New maximum value for the axis (ignored if Autoscale is true) 
Fc9-void-icon.png - VOID Return


SetYAxis

Fc9-comp-macro.png SetYAxis
Sets the Y axis name and bounds 
Fc9-string-icon.png - STRING Text
The new name for the axis (pass empty string to keep existing name) 
Fc9-bool-icon.png - BOOL Autoscale
Set true to autoscale the axis (ignores the Max and Min values) 
Fc9-f32-icon.png - FLOAT Min
New minimum value for the axis (ignored if Autoscale is true) 
Fc9-f32-icon.png - FLOAT Max
New maximum value for the axis (ignored if Autoscale is true) 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Chart
Fc9-type-10-icon.png Title
Chart title 
Fc9-type-12-icon.png Legend
 
Fc9-type-12-icon.png Style
 
Fc9-conn-icon.png X-axis
Fc9-type-10-icon.png Name
 
Fc9-type-7-icon.png Auto-scale
 
Fc9-type-15-icon.png Start
 
Fc9-type-15-icon.png End
 
Fc9-type-7-icon.png Logarithmic
 
Fc9-type-7-icon.png Scalable
 
Fc9-conn-icon.png Y-axis
Fc9-type-10-icon.png Name
 
Fc9-type-7-icon.png Auto-scale
 
Fc9-type-15-icon.png Start
 
Fc9-type-15-icon.png End
 
Fc9-type-7-icon.png Logarithmic
 
Fc9-type-7-icon.png Scalable
 
Fc9-conn-icon.png Advanced
Fc9-type-10-icon.png Custom Attributes
 
Fc9-type-10-icon.png Custom Options
 
Fc9-conn-icon.png Series
Fc9-type-16-icon.png Series Count
 
Fc9-type-10-icon.png Series 1
 
Fc9-type-10-icon.png Series 2
 

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