fslaborg / FSharp.Charting

Charting library suitable for interactive F# scripting
http://fslab.org/FSharp.Charting/
Other
216 stars 67 forks source link

Legend is not visible if it's configured along with title to display outside the chart area #133

Closed amgaera closed 7 years ago

amgaera commented 7 years ago

When a chart is configured to display a title and a legend, both outside the chart's area, the legend is not visible. The following chart illustrates this issue:

let chart = Chart.Line [ for x in 1.0 .. 100.0 -> (x, x ** 2.0) ]
chart.WithTitle(Text="Title", InsideArea=false).WithLegend(InsideArea=false).ShowChart()

Expected result:

chart-title-legend-small

Actual result:

chart-title-no-legend-small

My setup: