-
Notifications
You must be signed in to change notification settings - Fork 43
FLUT-965284 - [Feature] Added Gauges UG improvement changes. #1278
New issue
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
base: development
Are you sure you want to change the base?
Conversation
Your pull request has been created. Syncfusion support team will validate this commit and publish your changes accordingly. |
Build Status: INPROGRESS 🔃 |
CI Status: SUCCESS ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved.
@@ -114,7 +114,29 @@ Both the shape and widget marker pointers have the same set of properties and be | |||
|
|||
 | |||
|
|||
## Event |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why named the heading as Event alone instead of Animation Completed?
|
||
The [`onAnimationCompleted`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/LinearShapePointer/onAnimationCompleted.html) called when the pointer animation is completed. The default value is null. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we mention or highlight the null as 'null'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved.
@@ -136,4 +136,47 @@ Pointers can be dragged over the scale to change their values interactively. Thi | |||
|
|||
{% endhighlight %} | |||
|
|||
The [`onCreatePointerRenderer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer/onCreatePointerRenderer.html) callback used to create a custom pointer in the radial gauge. This callback available only in [`needlePointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/NeedlePointer-class.html) and [`markerPointer`](https://pub.dev/documentation/syncfusion_flutter_gauges/latest/gauges/MarkerPointer-class.html). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This callback is available only in two pointers, such as NeedlePointer
and MarkerPointer
.
But recheck it once and modify it.
Feature description
Review and update the API documentation for the radial gauge and linear gauge widgets.
Key objectives:
Analysis and design
Solution description
Output screenshots
Added images for missing API:
edgeStyle
onCreatePointerRenderer
Areas affected and ensured
Code snippets and content have been affected due to the modification.
API Changes
Missed API in this documentation changes
edgeStyle
- AddedonCreatePointerRenderer
- AddedonAnimationCompleted
- AddedfactorToValueCallback
- Not needed, Mostly we don't use any factor values in slider labels.Behavioral Changes
No behavioral changes due to this modification.
Test cases
No test cases for this PR.
Testbed sample location
No needed for this specific task.
Does it have any known issues?
No.
Does it have memory leak?
Not applicable
MR CheckList