I'm trying to plot a line chart with a description, using the first method identified in https://plotly.net/00_2_display-options.html.
While the code runs, and the chart is correctly plotted, I can't see the description.
Here's the code block:
let description1 =
ChartDescription.create "Cumulative Growth of Market and HmL Factors" ""
Chart.combine(
[Chart.Line(
hmlGrowth,
Name="Hml")
Chart.Line(
marketGrowth,
Name="Mkt")
|> Chart.withDescription(description1)
|> Chart.withYAxisStyle (AxisType = StyleParam.AxisType.Log)
|> Chart.withXAxisStyle("Date")
]
)
If I add |> Chart.show I get a compilation error, perhaps because I'm using a Notebook.
Any help is greatly appreciated.
EDIT: managed to get in touch with the authors, should be sorted. https://github.com/plotly/Plotly.NET/issues/281