Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
SfCartesianChart(
primaryXAxis: CategoryAxis(
arrangeByIndex: true
),
),
|
SfCartesianChart(
series: ColumnSeries<OrdinalSales, String>(
dataSource: [OrdinalSales('2020-1-14', 32, 'First') ],
dataLabelMapper: (OrdinalSales sales, _) => sales.text,
)
)
class OrdinalSales {
OrdinalSales(this.year, this.bar1, [this.text]);
final String year;
final num bar1;
final String text;
} |
SfCartesianChart(
tooltipBehavior: TooltipBehavior(
// To hide the marker
canShowMarker: false,
//To hide the header
header: ' '
)
)
|
SfCartesianChart(
primaryXAxis: CategoryAxis(
labelRotation: -45
),
)
|
SfCartesianChart(
dataLabelSettings: DataLabelSettings(
isVisible: true,
angle: 270,
),
) |