Closed markusressel closed 1 month ago
Note: The Example is not complete yet, since it is supposed to use the functionality of #68 . As with #68 , please let me integrate these changes before merging.
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Attention: Patch coverage is 22.58065%
with 48 lines
in your changes missing coverage. Please review.
Project coverage is 51.08%. Comparing base (
40e5944
) to head (091fcae
).
Files with missing lines | Patch % | Lines |
---|---|---|
plot.go | 22.58% | 44 Missing and 4 partials :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hi @markusressel
Thanks for the PR, I have merged the previous PRs, will wait for you to push your changes to this PR and then will release a new version.
Thanks.
@navidys Necessary changes have been made, this is how it looks now:
@navidys I have fixed as many issues as I could, please decide yourself what to do with the rest.
Also: I do not plan to create any more feature PRs after this for the time beeing ;)
Hi @markusressel Thanks for the PR, I will fix the lint and merge it.
This PR adds the ability to draw custom X-Axis labels:
To use this, a dev must provide a custom function that calculates the X-Axis label for an index:
Please have a look at the added example in
demos/plot_xaxis_labels/main.go
for a better explanation. By default this function simply returnsi
as a string, maintaining the existing behavior.Animated Version:
Note that it is automatically determined which labels are shown, based on the available space and the width of each individual label. Labels are selected based on their centered distance to the actual value in the graph.