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

Blurred #156

Open
Bao2080 opened this issue Oct 15, 2024 · 3 comments
Open

Blurred #156

Bao2080 opened this issue Oct 15, 2024 · 3 comments

Comments

@Bao2080
Copy link

Bao2080 commented Oct 15, 2024

Screenshot 2024-10-15 at 4 17 38 PM

Angular 18, Standalone.
html code:

<foreignObject x="241.73" y="430.1" width="100" height="100" >
  <div class="ngx-ahu-g4pf">
    <ngx-gauge
      style="background-color: white;"
      [value]="numberGauge" 
      [size]="80" 
      [label]="''"
      [append]="'Pa'" 
      [margin]="0"
      [min]="0" 
      [max]="100" 
      [thick]="5" 
      [type]="'arch'"
      [thresholds]="thresholds">
    </ngx-gauge>
  </div>
</foreignObject>

I have tried resizing. But the lines are still blurry whether they are inside the SVG or not.
How can I solve this situation?

@clementolive
Copy link

Hi, have you tried running it on another browser ? Which one did you use ?

@Bao2080
Copy link
Author

Bao2080 commented Jan 2, 2025

Hi, have you tried running it on another browser ? Which one did you use ?

yes, i tried on Google Chrome, Microsoft Edge, Android Phone(Samsung' and Huawei' mobile phone browser). The same problem will occur.

@DrakeAnglin
Copy link

@Bao2080 You need to play with the size option. your size is set to 80, but it looks like the gauge is zoomed in. if you increase the size, that basically increases the resolution. you will also have to increase the thick as that is based off size to get the dimension that your looking for.

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

3 participants