Skip to content

Commit c5adc41

Browse files
Merge pull request #24 from syncfusion-content/flut-5833-alignmentchange-hot
FLUT-5833-[Bug] Resolved the Chart UG issues
2 parents 56c38b4 + 3716c24 commit c5adc41

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

Flutter/cartesian-charts/axis-customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Axis labels and ticks can be positioned inside or outside the chart area by usin
239239
child: Container(
240240
child: SfCartesianChart(
241241
primaryXAxis: CategoryAxis(
242-
labelPosition: LabelPosition.inside,
242+
labelPosition: ChartDataLabelPosition.inside,
243243
tickPosition: TickPosition.inside
244244
)
245245
)

Flutter/cartesian-charts/marker-datalabel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ The markers can be rendered with desired image as shape. For this you have to sp
128128
isVisible: true,
129129
shape: DataMarkerType.image,
130130
// Renders the image as marker
131-
imageUrl: 'images/livechart.png'
131+
image: const AssetImage('images/livechart.png')
132132
)
133133
)
134134
]

Flutter/cartesian-charts/methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The [`show`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/char
5151
TextButton(
5252
child: Text('Show'),
5353
onPressed: show
54-
),s
54+
),
5555
Container(child: chart)
5656
]
5757
)

Flutter/cartesian-charts/on-demand-loading.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ The below example demonstrates the infinite scrolling by showing the ci
2626
loadMoreIndicatorBuilder:
2727
(BuildContext context, ChartSwipeDirection direction) =>
2828
getLoadMoreViewBuilder(context, direction),
29-
series: <ChartSeries<SalesData, num>>[
30-
AreaSeries<SalesData, num>(
29+
series: <ChartSeries<ChartData, num>>[
30+
LineSeries<ChartData, num>(
3131
dataSource: chartData,
3232
),
3333
],
@@ -52,8 +52,8 @@ The below example demonstrates the infinite scrolling by showing the ci
5252
}
5353
}
5454

55-
class SalesData {
56-
SalesData(this.x, this.y);
55+
class ChartData {
56+
ChartData(this.x, this.y);
5757
final num x;
5858
final double? y;
5959
}

Flutter/cartesian-charts/tooltip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,4 +265,4 @@ The ActivationMode enum contains the following values:
265265

266266
{% endhighlight %}
267267

268-
Also refer [`tooltip event`](./events#ontooltiprender) for customizing the tooltip further.
268+
Also refer [`tooltip event`](./callbacks#ontooltiprender) for customizing the tooltip further.

Flutter/circular-charts/tooltip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,4 +253,4 @@ The ActivationMode enum contains the following values:
253253

254254
{% endhighlight %}
255255

256-
Also refer [`tooltip event`](./events#ontooltiprender) for customizing the tooltip further.
256+
Also refer [`tooltip event`](./callbacks#ontooltiprender) for customizing the tooltip further.

Flutter/funnel-chart/funnel-customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ The [`smartLabelMode`](https://pub.dev/documentation/syncfusion_flutter_charts/l
178178
series: FunnelSeries<ChartData, String>(
179179
dataLabelSettings: DataLabelSettings(
180180
isVisible: true,
181-
labelPosition: LabelPosition.inside
181+
labelPosition: ChartDataLabelPosition.inside
182182
),
183183
)
184184
)

Flutter/funnel-chart/tooltip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,4 +250,4 @@ The ActivationMode enum contains the following values:
250250

251251
{% endhighlight %}
252252

253-
Also refer [`tooltip event`](./events#ontooltiprender) for customizing the tooltip further.
253+
Also refer [`tooltip event`](./callbacks#ontooltiprender) for customizing the tooltip further.

Flutter/pyramid-chart/pyramid-customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ The [`smartLabelMode`](https://pub.dev/documentation/syncfusion_flutter_charts/l
177177
series: PyramidSeries<ChartData, String>(
178178
dataLabelSettings: DataLabelSettings(
179179
isVisible: true,
180-
labelPosition: LabelPosition.inside
180+
labelPosition: ChartDataLabelPosition.inside
181181
),
182182
)
183183
)

Flutter/pyramid-chart/tooltip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,4 @@ The ActivationMode enum contains the following values:
255255

256256
{% endhighlight %}
257257

258-
Also refer [`tooltip event`](./events#ontooltiprender) for customizing the tooltip further.
258+
Also refer [`tooltip event`](./callbacks#ontooltiprender) for customizing the tooltip further.

0 commit comments

Comments
 (0)