Skip to content

[Bug]: It will crash unexpectable if it does not set the width(persent) of the speedgraph #159

@hoshiizumiya

Description

@hoshiizumiya

Describe the bug

try code:

speedGraph.AddPoint(percent, speed)

The percent doesnt have a value check. It will easily crash if the number not creect.
It will crash in the ui code, and can't catch in the VS. We can only find clue in the App's dump file (difficult).

Steps to reproduce the bug

~

Expected behavior

I suggest mentioning in the documentation that developers need to check the values or internally check the output information, otherwise it will directly lead to the application freezing and crashing, making it impossible to handle.
https://ghost1372.github.io/DevWinUIControls/controls/speedGraph/

Screenshots

Image

NuGet package version

None

IDE

Visual Studio 2026

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions