SfRadialGauge has white space
lxy8228535 opened this issue · 0 comments
use SfRadialGauge, when I set startAngle and endAngle to 270, a white space appears. when I set endAngle less than 270, such as 269.9, everything works fine. The code is as follows.
SizedBox(
height: _size,
width: _size,
child: SfRadialGauge(
axes: [
RadialAxis(
radiusFactor: 0.85,
axisLineStyle: const AxisLineStyle(
color: Color.fromRGBO(41, 118, 246, 1),
thickness: 0.24,
thicknessUnit: GaugeSizeUnit.factor),
showLabels: false,
showTicks: false,
startAngle: 270,
endAngle: 270,
pointers: [
RangePointer(
pointerOffset: 0.065,
width: 0.1,
value: _value4,
cornerStyle: CornerStyle.bothCurve,
color: const Color.fromRGBO(254, 166, 25, 1),
sizeUnit: GaugeSizeUnit.factor),
MarkerPointer(
value: _markerValue4,
// elevation: 5,
color: const Color.fromRGBO(254, 166, 25, 1),
markerHeight: 15,
onValueChanged: handleFifthPointerValueChanged,
onValueChangeEnd: handleFifthPointerValueChanged,
onValueChanging: handleFifthPointerValueChanging,
enableDragging: true,
markerWidth: 15,
markerType: MarkerType.circle,
borderColor: const Color.fromRGBO(34, 144, 199, 0.75))
],
annotations: [
GaugeAnnotation(
widget: Text(
_annotationValue4,
style: TextStyle(
fontSize: _annotationFontSize,
fontFamily: 'Times',
fontWeight: FontWeight.bold,
),
),
positionFactor: 0.1,
angle: 90)
])
],
),
);