Skip to content

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

@lloydlobo

Description

@lloydlobo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions