Skip to content

SP5: Simplify legend system#3049

Merged
swharden merged 2 commits intomainfrom
2792
Dec 3, 2023
Merged

SP5: Simplify legend system#3049
swharden merged 2 commits intomainfrom
2792

Conversation

@swharden
Copy link
Member

@swharden swharden commented Dec 3, 2023

This PR refactors the legend system to replace List<ILegend> with a single Legend object. This makes it easier to customize the legend appearance and behavior.

However, the way of enabling legends has changed:

// this is how to enable the legend now
Plot.Legend.IsVisible = true;
// this old strategy no longer works
Plot.Legend(true);

resolves #2792

@swharden swharden merged commit 7144c18 into main Dec 3, 2023
@swharden swharden deleted the 2792 branch December 3, 2023 21:16
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.

SP5: Legend items need customizable font styles

1 participant