100_120_Spacing_Layout - FVANCOP/ChartNew.js GitHub Wiki
Previous Chapter Previous Page Next Page Next Chapter Table of content
Spacing Layout
Through “space” options, you can adjust where elements are put on the canvas. For all those options, the value must be a positive integer value and correspond to a number of pixels.
Contents
- footNoteSpaceAfter
- footNoteSpaceBefore
- graphSpaceAfter
- graphSpaceBefore
- graphSubTitleSpaceAfter
- graphSubTitleSpaceBefore
- graphTitleSpaceAfter
- graphTitleSpaceBefore
- spaceBottom
- spaceLeft
- spaceRight
- spaceTop
- legendBordersSpaceAfter
- legendBordersSpaceBefore
- legendBordersSpaceLeft
- legendBordersSpaceRight
- legendSpaceAfterText
- legendSpaceBeforeText
- legendSpaceBetweenBoxAndText
- legendSpaceBetweenTextHorizontal
- legendSpaceBetweenTextVertical
- legendSpaceLeftText
- legendSpaceRightText
- xAxisLabelSpaceAfter
- xAxisLabelSpaceBefore
- xAxisSpaceAfter
- xAxisSpaceBefore
- xAxisSpaceBetweenLabels
- yAxisLabelSpaceLeft
- yAxisLabelSpaceRight
- yAxisSpaceLeft
- yAxisSpaceRight
- yAxisUnitSpaceAfter
- yAxisUnitSpaceBefore
footNoteSpaceAfter
Location: 12
Default Value : 5
Applies only if a footnote is specified.
footNoteSpaceBefore
Location: 11
Default Value : 5
Applies only if a footnote is specified.
graphSpaceAfter
Location: 10
Default Value : 5
graphSpaceBefore
Location: 9
Default Value : 5
graphSubTitleSpaceAfter
Location:8
Default Value : 5
Applies only if a subTitle is specified.
graphSubTitleSpaceBefore
Location: 7
Default Value : 5
Applies only if a subTitle is specified.
graphTitleSpaceAfter
Location: 6
Default Value : 5
Applies only if a title is specified.
graphTitleSpaceBefore
Location:5
Default Value : 5
Applies only if a title is specified.
spaceBottom
Location: 3
Default Value : 0
spaceLeft
Location: 4
Default Value : 0
spaceRight
Location: 2
Default Value : 0
spaceTop
Location: 1
Default Value : 0
legendBordersSpaceAfter
Location: 15
Default Value : 5
Applies only if the legend has a border (option legendBorders : true)
legendBordersSpaceBefore
Location: 13
Default Value : 5
Applies only if the legend has a border (option legendBorders : true)
legendBordersSpaceLeft
Location: 16
Default Value : 5
Applies only if the legend has a border (option legendBorders : true)
The value specified is the minimum space to leave on the left of the legend.
legendBordersSpaceRight
Location: 14
Default Value : 5
Applies only if the legend has a border (option legendBorders : true)
The value specified is the minimum space to leave on the right of the legend.
legendSpaceAfterText
Location: 18
Default Value : 5
Applies only if the legend has to be displayed (option legend : true)
legendSpaceBeforeText
Location: 17
Default Value : 5
Applies only if the legend has to be displayed (option legend : true)
legendSpaceBetweenBoxAndText
Location: 19
Default Value : 5
Applies only if the legend has to be displayed (option legend : true)
legendSpaceBetweenTextHorizontal
Location: 20
Default Value : 5
Applies only if the legend has to be displayed (option legend : true)
legendSpaceBetweenTextVertical
Location: 21
Default Value : 5
Applies only if the legend has to be displayed (option legend : true) and if the legend is displayed on more than one line.
legendSpaceLeftText
Location: 22
Default Value : 5
Applies only if the legend has to be displayed (option legend : true)
legendSpaceRightText
Location: 23
Default Value : 5
Applies only if the legend has to be displayed (option legend : true)
xAxisLabelSpaceAfter
Location: 27
Default Value : 5
Applies only for charts with X axis and if xAxisLabel is defined.
xAxisLabelSpaceBefore
Location: 26
Default Value : 5
Applies only for charts with X axis and if xAxisLabel is defined.
xAxisSpaceAfter
Location: 25
Default Value : 5
Applies only for charts with X axis.
xAxisSpaceBefore
Location: 24
Default Value : 5
Applies only for charts with X axis.
xAxisSpaceBetweenLabels
Location: 28
Default Value : 5
Applies only for charts with X axis.
This value is the minimum space required between x labels.
yAxisLabelSpaceLeft
Location: 29
Default Value : 5
Applies only for charts with Y axis and if yAxisLabel is defined.
yAxisLabelSpaceRight
Location: 30
Default Value : 5
Applies only for charts with Y axis and if yAxisLabel is defined.
yAxisSpaceLeft
Location: 31
Default Value : 5
Applies only for charts with Y axis.
yAxisSpaceRight
Location: 32
Default Value : 5
Applies only for charts with Y axis.
yAxisUnitSpaceAfter
Location: 34
Default Value : 5
Applies only for charts with Y axis and if yAxisUnit is defined.
yAxisUnitSpaceBefore
Location: 33
Default Value : 5
Applies only for charts with Y axis and if yAxisUnit is defined.
Previous Chapter Previous Page Next Page Next Chapter Top of Page