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

Text not appearing #284

Open
Bowis opened this issue Apr 11, 2021 · 1 comment
Open

Text not appearing #284

Bowis opened this issue Apr 11, 2021 · 1 comment

Comments

@Bowis
Copy link

Bowis commented Apr 11, 2021

I have created the following ProgressBar:

var line = new ProgressBar.Line(id, {
            color: '#FFEA82',   
            duration: time,
            strokeWidth: 10,
            svgStyle: {
                borderRadius: '10px;'
            },
            text: {
                value: 'Text',
                style: {
                    color: '#f00'
                }
            },
            from: { color: '#FFEA82' },
            to: { color: '#ED6A5A' },
            easing: 'easeInOut',
            step: (state, line) => {
                line.path.setAttribute('stroke', state.color);
            }
        });

However, the text is not showing in / near the progess-bar. I don't see the text added to the container either.
Screenshot 2021-04-11 at 22 35 10

@chcg823
Copy link

chcg823 commented May 27, 2021

Same problem!

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

2 participants