You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It accepts a SideTitles which is responsible to show your axis side titles
SideTitles()
drawBehindEverything
If titles are showing on top of your tooltip, you can draw them behind everything.
true
SideTitles
PropName
Description
default value
showTitles
determines whether to show or hide the titles
false
getTitlesWidget
A function to retrieve the title widget with given value on the related axis.
defaultGetTitle
reservedSize
It determines the maximum space that your titles need,
22
interval
Texts are showing with provided interval. If you don't provide anything, we try to find a suitable value to set as interval under the hood.
null
minIncluded
Determines whether to include title for minimum data value
true
maxIncluded
Determines whether to include title for maximum data value
true
SideTitleFitInsideData
PropName
Description
default value
enabled
determines whether to enable fit inside to SideTitleWidget
true
axisPosition
position (in pixel) that applied to the center of child widget along its corresponding axis
null
parentAxisSize
child widget's corresponding axis maximum width/height
null
distanceFromEdge
distance between child widget and its closest corresponding axis edge
6
FlGridData
PropName
Description
default value
show
determines to show or hide the background grid data
true
drawHorizontalLine
determines to show or hide the horizontal grid lines
true
horizontalInterval
interval space of grid, left it null to be calculate automatically
null
getDrawingHorizontalLine
a function to get the line style of each grid line by giving the related axis value
defaultGridLine
checkToShowHorizontalLine
a function to check whether to show or hide the horizontal grid by giving the related axis value
showAllGrids
drawVerticalLine
determines to show or hide the vertical grid lines
true
verticalInterval
interval space of grid, left it null to be calculate automatically
null
getDrawingVerticalLine
a function to get the line style of each grid line by giving the related axis value
defaultGridLine
checkToShowVerticalLine
a function to determine whether to show or hide the vertical grid by giving the related axis value
showAllGrids
FlSpot
PropName
Description
default value
x
represents x on the coordinate system (x starts from left)
null
y
represents y on the coordinate system (y starts from bottom)
null
FlLine
propName
Description
default value
color
determines the color of line
Colors.black
gradient
gradient of the line (you have to provide either color or gradient
null
strokeWidth
determines the stroke width of the line
2
dashArray
A circular array of dash offsets and lengths. For example, the array [5, 10] would result in dashes 5 pixels long followed by blank spaces 10 pixels long. The array [5, 10, 5] would result in a 5 pixel dash, a 10 pixel gap, a 5 pixel dash, a 5 pixel gap, a 10 pixel dash, etc.
When a pointer is moving after being held in contact at the same location for a long period of time. Reports the new position and its offset from the original down position.
When a pointer stops contacting the screen after a long press gesture was detected. Also reports the position where the pointer stopped contacting the screen.