diff options
| author | Jacob Palecki <[email protected]> | 2021-07-10 14:21:26 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2021-07-10 14:21:26 -0700 |
| commit | afe324470816328db29710b59b7140ab76f49999 (patch) | |
| tree | db45bbeaf2a3ee27c4c7e6bba24c47998e416c60 | |
| parent | Fix gain graph legend position (diff) | |
| download | rawaccel-afe324470816328db29710b59b7140ab76f49999.tar.xz rawaccel-afe324470816328db29710b59b7140ab76f49999.zip | |
Fix truncated sensitivity legend
| -rw-r--r-- | grapher/Models/Charts/ChartXY.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/grapher/Models/Charts/ChartXY.cs b/grapher/Models/Charts/ChartXY.cs index 6a34d9b..c74929d 100644 --- a/grapher/Models/Charts/ChartXY.cs +++ b/grapher/Models/Charts/ChartXY.cs @@ -173,6 +173,9 @@ namespace grapher legend.DockedToChartArea = area.Name; legend.LegendStyle = LegendStyle.Row; + legend.IsTextAutoFit = true; + legend.MaximumAutoSize = 100; + legend.AutoFitMinFontSize = 5; ElementPosition legendPosNew = DefaultLegendPosition; legend.Position = legendPosNew; |