Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150724 | Jan 17,2020 06:18 AM UTC | Feb 3,2020 10:23 AM UTC | Flutter | 8 |
![]() |
Tags: SfCartesianChart |
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,
),
) |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.