Skip to content

Conversation

@jentfoo
Copy link
Contributor

@jentfoo jentfoo commented Sep 14, 2025

Hello,

I have been maintaining a fork of the now-archived wcharczuk/go-chart for over a year.

Since the fork, there have been minimal changes to the original wcharczuk/go-chart code, now maintained as the chartdraw package. Merging this PR should not change how your charts look or behave, but ensures you depend on an actively supported module.

Most development has focused on a new API and chart style in the root charts package (see feature examples). If you want to explore that, I’d be happy to help; if not, chartdraw remains stable and supported.

We’re preparing for v0.6.0 and would value any feedback on the root charts API (chartdraw will remain stable). Thank you for considering.

FillColor: drawing.Color{A: 100},
FontColor: chart.ColorWhite,
FillColor: drawing.Color{A: 100},
FontStyle: chart.FontStyle{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Font properties have been now grouped together into a FontStyle struct. This is to make it easier to set the same font properties to multiple style elements.

FontSize: 8.0,
StrokeColor: chart.DefaultAxisColor,
StrokeWidth: chart.DefaultAxisLineWidth,
FillColor: chart.ColorWhite,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Default fields are deprecated. I did not anticipate many people referencing these, assuming that instead these were likely used internally. Let me know if you have any opinions on this API change. Thank you!

@rs rs merged commit 2a54bcc into rs:master Oct 20, 2025
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.

2 participants