Skip to content
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

show value of segment on hover #1

Open
Rami9237 opened this issue Apr 27, 2022 · 0 comments
Open

show value of segment on hover #1

Rami9237 opened this issue Apr 27, 2022 · 0 comments

Comments

@Rami9237
Copy link

Rami9237 commented Apr 27, 2022

I just installed this package for my project and i m really liking it
I m using it to create a report of tests where i show how many passed , failed and skipped/pending
Only issue is i need to show the number of tests for each segment on hover
here s my implementation so far

       <yan-progress :total="item.pass+item.skip+item.fail" :done="item.pass" :modify="item.fail" :tip='[
                {
                    text: "item.pass",//here show number of pass
                    fillStyle: "rgb(0, 249, 0)",
                }, 
                {
                    text: "item.skip",//here show number of skips
                    fillStyle: "rgb(0, 0, 249)",
                }, 
                {
                    text: "item.fail" ,//here show number of fails
                    fillStyle: "rgb(249, 0, 0)"
                }
            ]'
             />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant