MudBlazor / MudBlazor

Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
http://mudblazor.com
MIT License
7.21k stars 1.18k forks source link

Mudchart Donut displays console error oob #8780

Open T3ll1nG opened 3 weeks ago

T3ll1nG commented 3 weeks ago

Bug type

Component

Component name

MudChart

What happened?

The MudChart in the Type Donut will always display an error on Chromium and a warning in FF in the console, probably due to a culture conflict in a cast "15,915...." . The does not hinder the chart in displaying the data correctly.

Expected behavior

The chart should display without a error message.

Reproduction link

https://github.com/T3ll1nG/MudblazorBrokenDonut/blob/main/BrokenDonut.razor

Reproduction steps

  1. Integrate the .razor in your solution
  2. start the solution
  3. navigate to the sub page using /BrokenDonut
  4. View the console output in the developer tools

Relevant log output

Error: «circle> attribute r: Expected length, "15,9154943091895.". setOrRemoveAttributerProperty @ blazor.server.js:1 applyAttribute
blazor. server.js:1
insertElement
blazor. server.js:1
insertFrame @
blazor. server.js:1
insertFrameRange
blazor. server.js:1
insertElement
blazor.server.js:1
insertFrame @
blazor. server.js:1
applyEdits
blazor. server.js:1
updateComponent @
blazor.server.js:1
(anonymous) @
blazor.server.js:1
processBatch
blazor.server.js:1
(anonymous) @
blazor.server.js:1
_invokeclientMethod @ blazor.server.js:1
I
_processIncomingData
blazor. server.js:1
Xt. connection. onreceive @
blazor.server.js:1
s. onmessage @
blazor. server.js:1

Version (bug)

6.19.1

Version (working)

No response

What browsers are you seeing the problem on?

Firefox, Chrome, Edge

On which operating systems are you experiencing the issue?

Windows, macOS

Pull Request

Code of Conduct