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

Fork wcharczuk/go-chart into repo under chartdraw package #13

Merged
merged 10 commits into from
Aug 26, 2024

Conversation

jentfoo
Copy link
Member

@jentfoo jentfoo commented Aug 26, 2024

This PR brings in the code from the wcharczuk/go-chart dependency under this project. I was already playing with this idea because our API already needs you to be aware of this dependency and I like the idea of unifying and simplifying this separation. However with the recent archive of wcharczuk/go-chart it makes sense to go ahead and make the change to unify this code together.

This PR in detail makes the following changes to the upstream wcharczuk/go-chart:

This PR does not include any API changes for our library or wcharczuk/go-chart (minus moving to our chartdraw package). Those changes will come in a future PR, but will require additional thought as I want to make sure the advantages of both libraries is maintained. Feedback welcome!

jentfoo and others added 9 commits August 25, 2024 14:29
Imported from commit: c9c904215494e8db2f55863b1855bb0a09ef58d8

This was drafted earlier as a first step to unifying and simplifying the API.
Because `wcharczuk/go-chart` has been archived, it makes sense to go ahead and move forward with combining the code together.
This commit updates the test cases for the SVG rendering changes from the parent project (after a fix for when the transparent / `none` being rendered correctly).
In addition this removes testutil/helpers and instead just using testify
Logger is relatively under utilized, so I want to remove it to help simplify for now.
Adds unit tests for the mathutil code, and brings in a couple fixes found from testing.
@jentfoo jentfoo self-assigned this Aug 26, 2024
This commit removes a few more unused implementations, fixes spelling errors, and other warnings.
@jentfoo jentfoo force-pushed the jent/wcharczuk_merge branch from ba5ecdb to 27f141c Compare August 26, 2024 01:26
@jentfoo jentfoo changed the title Fork wcharczuk/go-chart into repo under chartdraw package Fork wcharczuk/go-chart into repo under chartdraw package Aug 26, 2024
@jentfoo jentfoo merged commit 27f141c into main Aug 26, 2024
6 checks passed
@jentfoo jentfoo deleted the jent/wcharczuk_merge branch August 26, 2024 01:39
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

Successfully merging this pull request may close these issues.

4 participants