It is possible to build Charts with simple Datasets.
Currently, Francy, supports Bar, Line and Scatter Charts.
Please see Francy-JS for client implementation.
In this section we show all Francy Chart Categories.
‣ IsChart( arg ) | ( filter ) |
Returns: true or false
Identifies Chart objects.
‣ IsChartType( arg ) | ( filter ) |
Returns: true or false
Identifies ChartType objects.
‣ IsChartDefaults( arg ) | ( filter ) |
Returns: true or false
Identifies ChartDefaults objects.
‣ IsAxisScaleType( arg ) | ( filter ) |
Returns: true or false
Identifies AxisScaleType objects.
‣ IsXAxis( arg ) | ( filter ) |
Returns: true or false
Identifies XAxis objects.
‣ IsYAxis( arg ) | ( filter ) |
Returns: true or false
Identifies YAxis objects.
‣ IsDataset( arg ) | ( filter ) |
Returns: true or false
Identifies Dataset objects.
In this section we show all Francy Chart Families.
In this section we show the Francy Chart Representations.
‣ IsChartRep( arg ) | ( filter ) |
Returns: true or false
Checks whether an Object has a Chart internal representation.
‣ IsChartDefaultsRep( arg ) | ( filter ) |
Returns: true or false
Checks whether an Object has a ChartDefaults internal representation.
‣ IsChartTypeRep( arg ) | ( filter ) |
Returns: true or false
Checks whether an Object has a ChartType internal representation.
‣ IsAxisScaleTypeRep( arg ) | ( filter ) |
Returns: true or false
Checks whether an Object has a AxisScaleType internal representation.
‣ IsAxisRep( arg ) | ( filter ) |
Returns: true or false
Checks whether an Object has a AxisRep internal representation.
‣ IsDatasetRep( arg ) | ( filter ) |
Returns: true or false
Checks whether an Object has a DatasetRep internal representation.
In this section we show all Francy Chart Operations.
‣ Chart( IsChartType[, IsChartDefaults] ) | ( operation ) |
Returns: Chart
Every object to draw will be a subclass of this object. This will allow all the objects to contain the same base information.
Examples:
Create a simple Chart of type ChartType.BAR:
gap> chart:=Chart(ChartType.BAR); gap> SetAxisXTitle(chart, "X Axis"); gap> AxisXTitle(chart); gap> SetAxisXDomain(chart, ["domain1", "domain2", "domain3", "domain4", "domain5"]); # default [] gap> AxisXDomain(chart); gap> SetAxisYTitle(chart, "Y Axis"); gap> AxisYTitle(chart); gap> data1 := Dataset("data1", [100,20,30,47,90]); gap> data2 := Dataset("data2", [51,60,72,38,97]); gap> data3 := Dataset("data3", [50,60,70,80,90]); gap> Add(chart, [data1, data2, data3]); gap> Remove(chart, data1); gap> Add(chart, data1); gap> Remove(chart, [data2, data3]); gap> Length(RecNames(chart!.data)) = 1;
Create a simple Chart of type ChartType.LINE:
gap> chart:=Chart(ChartType.LINE); gap> SetAxisXTitle(chart, "X Axis"); gap> SetAxisYTitle(chart, "Y Axis"); gap> data1 := Dataset("data1", [100,20,30,47,90]); gap> Add(chart, data1);
Create a simple Chart of type ChartType.SCATTER:
gap> chart:=Chart(ChartType.SCATTER); gap> SetAxisXTitle(chart, "X Axis"); gap> SetAxisYTitle(chart, "Y Axis"); gap> data1 := Dataset("data1", [100,20,30,47,90]); gap> Add(chart, data1);
‣ Add( IsChart[, IsDataset, List(IsDataset)] ) | ( operation ) |
Returns: Chart
Adds a Dataset to a specific Chart.
‣ Remove( IsChart[, IsDataset, List(IsDataset)] ) | ( operation ) |
Returns: Chart
Removes a Dataset from a specific Chart.
‣ Dataset( IsString(title), IsList(data) ) | ( operation ) |
Returns: Dataset
Creates a dataset.
‣ DefaultAxis( IsChartType ) | ( operation ) |
Returns: rec
Returns the default settings for a ChartType
‣ XAxis( IsAxisScaleType, IsString(title), IsList(domain) ) | ( operation ) |
Returns: XAxis
Creates a XAxis
‣ YAxis( IsAxisScaleType, IsString(title), IsList(domain) ) | ( operation ) |
Returns: YAxis
Creates a YAxis
In this section we show all Global Chart Francy Records for multi purpose.
In this section we show all Francy Attributes
‣ ShowLegend( arg ) | ( attribute ) |
Returns: IsBool True if enabled otherwise False
ShowLegend is a property that enables or disables the legend in the client implementation.
‣ ShowLegend( arg1 ) | ( function ) |
‣ SetShowLegend( IsChart, IsBool ) | ( function ) |
ShowLegend is a property that enables or disables the legend in the client implementation.
‣ AxisXTitle( arg ) | ( attribute ) |
Returns: IsString with the title of the object
This title is used to display the X Axis Title in the client implementation.
‣ AxisXTitle( arg1 ) | ( function ) |
‣ SetAxisXTitle( IsChart, IsString ) | ( function ) |
This title is used to display the X Axis Title in the client implementation.
‣ AxisYTitle( arg ) | ( attribute ) |
Returns: IsString with the title of the object
This title is used to display the Y Axis Title in the client implementation.
‣ AxisYTitle( arg1 ) | ( function ) |
‣ SetAxisYTitle( IsChart, IsString ) | ( function ) |
This title is used to display the Y Axis Title in the client implementation.
‣ AxisXDomain( arg ) | ( attribute ) |
Returns: IsList
This is the domain of the X Axis values in the client implementation.
‣ AxisXDomain( arg1 ) | ( function ) |
‣ SetAxisXDomain( IsList, IsList ) | ( function ) |
This is the domain of the X Axis values in the client implementation.
generated by GAPDoc2HTML