-
Notifications
You must be signed in to change notification settings - Fork 294
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
Fix [BUG] Rotated labels overlap with the chart #551 #555
Fix [BUG] Rotated labels overlap with the chart #551 #555
Conversation
Add `ab_glyph` font backend
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version. - [Release notes](https://github.com/bheisler/criterion.rs/releases) - [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md) - [Commits](bheisler/criterion.rs@0.3.6...0.4.0) --- updated-dependencies: - dependency-name: criterion dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…criterion-0.4.0 Update criterion requirement from 0.3.6 to 0.4.0
Updates the requirements on [ttf-parser](https://github.com/RazrFalcon/ttf-parser) to permit the latest version. - [Release notes](https://github.com/RazrFalcon/ttf-parser/releases) - [Changelog](https://github.com/RazrFalcon/ttf-parser/blob/master/CHANGELOG.md) - [Commits](harfbuzz/ttf-parser@v0.15.0...v0.17.0) --- updated-dependencies: - dependency-name: ttf-parser dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Aaron Erhardt <aaron.erhardt@t-online.de>
Export the `doc` macro, to use of `define_color`
…ttf-parser-0.17.0 Update ttf-parser requirement from 0.15.0 to 0.17.0
update font backend documentation
Signed-off-by: Aaron Erhardt <aaron.erhardt@t-online.de>
Signed-off-by: Aaron Erhardt <aaron.erhardt@t-online.de>
Minor: Resolved this warning associated with a "Non-Standard" default
* Properly propagate error of nested result
Added primitive types implementation of the `LogScalable` trait
Add dashed line style.
Fix dashed line algorithm
…itmap Fix overflow in `blit_bitmap`
Add dotted line style
- also hide the count! macro, since it is only used as a helper
Enable macro usage for users to define colormaps
docs - annotate objects who depend on features
…not override the user-defined `label_style.pos`
Some(_) => label_style, | ||
None => &label_style_with_new_pos, | ||
}; | ||
area.draw_text(t, &label_style, (text_x, text_y))?; |
Check warning
Code scanning / clippy
this expression creates a reference which is immediately dereferenced by the compiler Warning
The fix looks good to me, but breaking changes are not accepted on the |
Do not override the
label_style.pos
value if it has been defined by the user.This is the related discussion for issue #551 . I also commented out a rational for the fix in here
This is a breaking change, but the only breaking change is that the type of
TextStyle.pos
changes fromtext_anchor::Pos
toOption<text_anchor::Pos>
. It is a breaking change becauseTextStyle.pos
is a public attribute.I don't know if this kind of breaking change is allowed. I also don't know if this is a good fix for this issue. Please advise any type of change you would want me to do, and I can do it. Thank you