plotly / plotly/Plotly.NET

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

未關閉 適合新手
#498 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
F#
星號
860
分支
99
平均合併
22 分鐘
30 天內合併 PR
1

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

開啟連結的 Plotly.NET 文件頁面中 Comparison: Usage in F# and C# 下的 Functional pipeline style in F# 區段。檢查兩行 Chart.withXAxisStyle 和 Chart.withYAxisStyle 是否分別與其 TitleText 值相符,然後更新範例,讓每個座標軸標題使用相符的樣式函式。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
fsharp
領域
documentation
Issue 類型
文件
難度
1/5
預估耗時
1 小時以內
活躍度
停滯
描述清晰度
描述清楚
新手友好度
78/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。