Plotly.NET icon indicating copy to clipboard operation
Plotly.NET copied to clipboard

Doc: Incorrect Axis Title Styles in F# Example in Plotly.NET Docs

Open lloydlobo opened this issue 1 month ago • 0 comments

Description

In the Functional pipeline style in F# section under Comparison: Usage in F# and C#, I found a minor typo in the following lines:

|> Chart.withYAxisStyle (TitleText = "xAxis")
|> Chart.withXAxisStyle (TitleText = "yAxis")

The first line, Chart.withYAxisStyle, needs to be Chart.withXAxisStyle as the title is for the X-axis, not the Y-axis. Likewise, the second line, Chart.withXAxisStyle, needs to be Chart.withYAxisStyle as the title is for the Y-axis, not the X-axis.

Expected behavior

|> Chart.withXAxisStyle (TitleText = "xAxis")
|> Chart.withYAxisStyle (TitleText = "yAxis")
Image

Actual behavior

Image Image

Related information

Links

  • https://plotly.net/#Functional-pipeline-style-in-F

lloydlobo avatar Nov 18 '25 11:11 lloydlobo