LogarithmicAxis class

Logarithmic axis uses logarithmic scale and displays numbers as axis labels.

Provides options to customize the range of log axis, use the minimum, maximum, and interval properties. By default, the range will be calculated automatically based on the provided data.

Note: This is only applicable for SfCartesianChart.

Inheritance
Annotations

Constructors

LogarithmicAxis({String? name, bool? isVisible, bool? anchorRangeToVisiblePoints, AxisTitle? title, AxisLine? axisLine, AxisLabelIntersectAction? labelIntersectAction, int? labelRotation, ChartDataLabelPosition? labelPosition, TickPosition? tickPosition, bool? isInversed, bool? opposedPosition, int? minorTicksPerInterval, int? maximumLabels, MajorTickLines? majorTickLines, MinorTickLines? minorTickLines, MajorGridLines? majorGridLines, MinorGridLines? minorGridLines, EdgeLabelPlacement? edgeLabelPlacement, TextStyle? labelStyle, double? plotOffset, double? zoomFactor, double? zoomPosition, bool? enableAutoIntervalOnZooming, InteractiveTooltip? interactiveTooltip, double? minimum, double? maximum, double? interval, double logBase = 10, String? labelFormat, NumberFormat? numberFormat, double? visibleMinimum, double? visibleMaximum, LabelAlignment? labelAlignment, dynamic crossesAt, String? associatedAxisName, bool? placeLabelsNearAxisLine, List<PlotBand>? plotBands, int? desiredIntervals, RangeController? rangeController, double? maximumLabelWidth, double? labelsExtent, int? autoScrollingDelta, double? borderWidth, Color? borderColor, AxisBorderType? axisBorderType, MultiLevelLabelStyle? multiLevelLabelStyle, MultiLevelLabelFormatterCallback? multiLevelLabelFormatter, List<LogarithmicMultiLevelLabel>? multiLevelLabels, AutoScrollingMode? autoScrollingMode, ChartLabelFormatterCallback? axisLabelFormatter})
Creating an argument constructor of LogarithmicAxis class.

Properties

anchorRangeToVisiblePoints bool
Determines the value axis range, based on the visible data points or based on the overall data points available in chart.
finalinherited
associatedAxisName String?
Axis line crossed on mentioned axis name, and applicable for plot band also.
finalinherited
autoScrollingDelta int?
The number of data points to be visible always in the chart.
finalinherited
autoScrollingMode AutoScrollingMode
Determines whether the axis should be scrolled from the start position or end position.
finalinherited
axisBorderType AxisBorderType
Border type of the axis label.
finalinherited
axisLabelFormatter ChartLabelFormatterCallback?
Called while rendering each axis label in the chart.
finalinherited
axisLine AxisLine
Customizes the appearance of the axis line. The axis line is visible by default.
finalinherited
borderColor Color?
Border color of the axis label.
finalinherited
borderWidth double
Border width of the axis label.
finalinherited
crossesAt → dynamic
Customization to place the axis crossing on another axis based on the value.
finalinherited
desiredIntervals int?
The number of intervals in an axis.
finalinherited
edgeLabelPlacement EdgeLabelPlacement
Position of the edge labels.
finalinherited
enableAutoIntervalOnZooming bool
Enables or disables the automatic interval while zooming.
finalinherited
hashCode int
The hash code for this object.
no setteroverride
interactiveTooltip InteractiveTooltip
Customizes the crosshair and selection zooming tooltip. Tooltip displays the current axis value based on the crosshair position/selectionZoomRect position at an axis.
finalinherited
interval double?
Axis interval value.
finalinherited
isInversed bool
Inverts the axis.
finalinherited
isVisible bool
Toggles the visibility of the axis.
finalinherited
labelAlignment LabelAlignment
Alignment of the labels.
finalinherited
labelFormat String?
Formats the numeric axis labels.
final
labelIntersectAction AxisLabelIntersectAction
Axis labels intersecting action.
finalinherited
labelPosition ChartDataLabelPosition
Position of the labels.
finalinherited
labelRotation int
Angle for axis labels. The axis labels can be rotated to any angle.
finalinherited
labelsExtent double?
Specifies the fixed width for the axis labels. This width represents the space between axis line and axis title.
finalinherited
labelStyle TextStyle?
Customizes the appearance of the axis labels.
finalinherited
logBase double
The base value for logarithmic axis. The axislabel will render this base value.i.e 10,100,1000 and so on.
final
majorGridLines MajorGridLines
Customizes the appearance of the major grid lines.
finalinherited
majorTickLines MajorTickLines
Customizes the appearance of the major tick lines.
finalinherited
maximum double?
The maximum value of the axis. The axis will end at this value.
final
maximumLabels int
The maximum number of labels to be displayed in an axis in 100 logical pixels.
finalinherited
maximumLabelWidth double?
Specifies maximum text width for axis labels.
finalinherited
minimum double?
The minimum value of the axis.
final
minorGridLines MinorGridLines
Customizes the appearance of the minor grid lines.
finalinherited
minorTickLines MinorTickLines
Customizes the appearance of the minor tick lines.
finalinherited
minorTicksPerInterval int
Interval of the minor ticks.
finalinherited
multiLevelLabelFormatter MultiLevelLabelFormatterCallback?
Called while rendering each multi-level label.
finalinherited
multiLevelLabels List<ChartMultiLevelLabel>?
Provides the option to group the axis labels. You can customize the start, end value of a multi-level label, text, and level of the multi-level labels.
finalinherited
multiLevelLabelStyle MultiLevelLabelStyle
Customize the multi-level label’s border color, width, type, and text style such as color, font size, etc.
finalinherited
name String?
Name of an axis.
finalinherited
numberFormat → NumberFormat?
Formats the logarithmic axis labels with globalized label formats.
final
opposedPosition bool
Opposes the axis position.
finalinherited
placeLabelsNearAxisLine bool
Consider to place the axis label respect to near axis line.
finalinherited
plotBands List<PlotBand>
Render the plot band in axis.
finalinherited
plotOffset double
Padding for plot area. The axis is rendered in chart with padding.
finalinherited
rangeController → RangeController?
The rangeController property is used to set the maximum and minimum values for the chart in the viewport. In the minimum and maximum properties of the axis, you can specify the minimum and maximum values with respect to the entire data source. In the visibleMinimum and visibleMaximum properties, you can specify the values to be viewed in the viewed port i.e. range controller's start and end values respectively.
finalinherited
rangePadding ChartRangePadding
Padding for minimum and maximum values in an axis.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tickPosition TickPosition
Position of the tick lines.
finalinherited
title AxisTitle
Customizes the appearance of the axis title.
finalinherited
visibleMaximum double?
The minimum visible value of the axis.
final
visibleMinimum double?
The minimum visible value of the axis.
final
zoomFactor double
Zoom factor of an axis.
finalinherited
zoomPosition double
Position of the zoomed axis. The value ranges from 0 to 1.
finalinherited

Methods

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.
override