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 will be a subclass of Chart
object. All objects 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 displaying the Chart
legend in the client implementation.
‣ ShowLegend ( arg1 ) | ( operation ) |
‣ SetShowLegend ( IsChart, IsBool ) | ( operation ) |
ShowLegend
is a property that enables or disables displaying the Chart
legend in the client implementation.
‣ AxisXTitle ( arg ) | ( attribute ) |
Returns: IsString
with the title of the object
This is used to display the X Axis Title in the client implementation.
‣ AxisXTitle ( arg1 ) | ( operation ) |
‣ SetAxisXTitle ( IsChart, IsString ) | ( operation ) |
This is used to display the X Axis Title in the client implementation.
‣ AxisYTitle ( arg ) | ( attribute ) |
Returns: IsString
with the title of the object
This is used to display the Y Axis Title in the client implementation.
‣ AxisYTitle ( arg1 ) | ( operation ) |
‣ SetAxisYTitle ( IsChart, IsString ) | ( operation ) |
This 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 ) | ( operation ) |
‣ SetAxisXDomain ( IsList, IsList ) | ( operation ) |
This is the domain of the X Axis values in the client implementation.
generated by GAPDoc2HTML