Doc: Incorrect Axis Title Styles in F# Example in Plotly.NET Docs
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 860
- Forks
- 99
- Avg merge
- 22m
- Merged PRs (30d)
- 1
Description
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")
Actual behavior
Related information
Links
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the Functional pipeline style in F# section under Comparison: Usage in F# and C# at the linked Plotly.NET documentation page. Check the two Chart.withXAxisStyle and Chart.withYAxisStyle lines against their TitleText values, then update the example so each axis title uses the matching style function.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100