We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are no params for that. And all I do for now it hard code the stroke width...
void _paintChart(Canvas canvas, Size size, CircularChart chart) { final Paint segmentPaint = new Paint() ..style = chart.chartType == CircularChartType.Radial ? PaintingStyle.stroke : PaintingStyle.fill ..strokeCap = chart.edgeStyle == SegmentEdgeStyle.round ? StrokeCap.round : StrokeCap.butt; for (final CircularChartStack stack in chart.stacks) { for (final segment in stack.segments) { segmentPaint.color = segment.color; segmentPaint.strokeWidth = 3;//stack.width; canvas.drawArc( new Rect.fromCircle( center: new Offset(size.width / 2, size.height / 2), radius: stack.radius, ), stack.startAngle * _kRadiansPerDegree, segment.sweepAngle * _kRadiansPerDegree, chart.chartType == CircularChartType.Pie, segmentPaint, ); } } }
The text was updated successfully, but these errors were encountered:
Please consider supporting the customize radial chart stroke width with new features
Sorry, something went wrong.
I love the animation. I wish the "radial chart stroke width" would be included.
Can you do that?
Thank you very much, BR, Adrian
No branches or pull requests
There are no params for that. And all I do for now it hard code the stroke width...
The text was updated successfully, but these errors were encountered: