Doc: Incorrect Axis Title Styles in F# Example in Plotly.NET Docs
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 78/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- fsharp
- Domain
- documentation
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.
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
- Dominant language
- F#
- Stars
- 860
- Forks
- 99
- Avg merge
- 22m
- Merged PRs (30d)
- 1
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.
More from plotly/Plotly.NET
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
plotly/Plotly.NET#495 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
plotly/Plotly.NET#494 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
plotly/Plotly.NET#492 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
plotly/Plotly.NET#485 · 1 comment ·
-
Area: Core API
Difficulty 3/5 1-2 days Newbie friendliness 42/100
plotly/Plotly.NET#477 ·