Skip to content

Conversation

@mboukhalfa
Copy link

There were a problem when updating the Max value for the gauge, the function updateMax() which call the setMaxValue() function in gauge-svg was missed.

Copy link
Owner

@mattlewis92 mattlewis92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one, thanks for this! 😄 Would you mind adding a test for this change? You can adapt one from here: https://github.com/mattlewis92/angular-gauge/blob/master/test/gauge.component.spec.ts#L59-L71

@bokisha
Copy link

bokisha commented Apr 1, 2022

Sadly, this will not fix the issue, because gauge-svg method for updating max value doesn't update gauge itself. I have created pull request to fix that (naikus/svg-gauge#61). Afterwards, i will create also pull request to fix it here (along with tests)

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

Successfully merging this pull request may close these issues.

3 participants