LassoScript Utility
Basics Browse Detail


Tag Link [ChartFX] Category ChartFX
Type Substitution Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type ChartFX Security None
Implementation Sets Lasso 8.5


[ChartFX] creates a chart using the Chart FX module. The type does not require any parameters, but all characteristics of the chart are set using member tags.

Note - The Chart FX module requires a separate license in order to be used on a deployment server. The module will work in development mode without a license. Consult the documentation in the Chart FX folder in the Lasso application folder for more information.

The template for a chart can be read from a file using [ChartFX->SetTemplate] or passed as a string using [ChartFX->SetTemplateStr]. The data for a chart can be read from a file using [ChartFX->SetTextData] or [ChartFX->SetXMLData] or passed as a records array using [ChartFX->SetLassoData]. The columns of data passed to the charting type can be described using [ChartFX->SetDataType].

The size of the chart must be set using [ChartFX->SetWidth] and [ChartFX->SetHeight]. Finally, the chart can be rendered using [ChartFX->Render]. This tag returns an HTML image tag which identifies the location of the image file generated by Chart FX.




No Parameters Required.


See the Lasso 8 Language Guide for examples of how to use this tag.