FlTitlesData class

Holds data for showing titles on each side of charts.

Constructors

FlTitlesData({bool show = true, AxisTitles leftTitles = const AxisTitles(sideTitles: SideTitles(reservedSize: 44, showTitles: true)), AxisTitles topTitles = const AxisTitles(sideTitles: SideTitles(reservedSize: 30, showTitles: true)), AxisTitles rightTitles = const AxisTitles(sideTitles: SideTitles(reservedSize: 44, showTitles: true)), AxisTitles bottomTitles = const AxisTitles(sideTitles: SideTitles(reservedSize: 30, showTitles: true))})
show determines showing or hiding all titles, leftTitles, topTitles, rightTitles, bottomTitles defines side titles of left, top, right, bottom sides respectively.
const

Properties

bottomTitles AxisTitles
final
hashCode int
The hash code for this object.
no setterinherited
leftTitles AxisTitles
final
props List<Object?>
Used for equality check, see EquatableMixin.
no setter
rightTitles AxisTitles
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show bool
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
topTitles AxisTitles
final

Methods

copyWith({bool? show, AxisTitles? leftTitles, AxisTitles? topTitles, AxisTitles? rightTitles, AxisTitles? bottomTitles}) FlTitlesData
Copies current FlTitlesData to a new FlTitlesData, and replaces provided values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

lerp(FlTitlesData a, FlTitlesData b, double t) FlTitlesData
Lerps a FlTitlesData based on t value, check Tween.lerp.