Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR includes the changes for the future v0.5 release. Changes included for this release:
True()
,False()
,BoolPointer(bool)
, andFloatPointer(float64)
have been replaced bycharts.Ptr
Series.Label.Formatter
was replaced withSeries.Label.FormatTemplate
Series.Label.Position
was replaced withSeriesLabelPosition
on the chart Options struct (only bar and horizontal bar use this field)SeriesList.GetMinMax
was removed, use the betterSeries.Summary()
function.drawing.ColorFromRGB
replaced withcharts.ColorFromRGBA
(supporting both formats now)drawing
package had several functions expected to be unused externally that were removedLineChartOptions.FillArea
is now a bool pointer, set withcharts.True()
HorizontalBarChart.YAxis
is now a single struct field instead of a slice. Only a single Y axis is supported on this chart. (previously in PR [v0.5] Horizontal Bar Chart: only accept a single Y Axis #40)Before merging we will describe all API changes on our version migration guide here: https://github.com/go-analyze/charts/wiki/Version-Migration-Guide