Hi Mohammad ghawanmeh,
The
requirement can be achieved by using the plotBands property in the primaryYAxis, its always visible in chart. We have used
the plotBands property and set the start and end properties value to 28 as per the
below code snippet.
Code
snippet:
primaryYAxis:
NumericAxis(
......
plotBands: [
PlotBand(
start:
28,
end:
28,
borderWidth: 2,
borderColor: Colors.blue,
dashArray:
const [5, 5],
),
],
),
|
Kindly refer to the attached UG document
regarding PlotBand for further information.
UG, https://help.syncfusion.com/flutter/cartesian-charts/axis-customization#plot-bands
Screenshot:
And we have attached a sample below for
your reference.
Thanks,
Hari Hara Sudhan. K
Attachment:
181189_5fc696e6.zip