You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -41,13 +42,13 @@ Plotly.NET provides functions for generating and rendering plotly.js charts in *
41
42
42
43
# Installation
43
44
44
-
Plotly.NET will be available as 2.0.0 version of its predecessor FSharp.Plotly. The feature roadmap can be seen [here](https://github.com/plotly/Plotly.NET/issues/43). Contributions are very welcome!
45
+
Plotly.NET is the 2.0.0+ version of its predecessor FSharp.Plotly.
45
46
46
-
Old packages up until version 1.2.2 can be accessed via the old package name *FSharp.Plotly* [here](https://www.nuget.org/packages/FSharp.Plotly/)
47
+
If needed, old packages up until version 1.2.2 can be accessed via the old package name *FSharp.Plotly* [here](https://www.nuget.org/packages/FSharp.Plotly/)
47
48
48
49
### For applications and libraries
49
50
50
-
A preview version of Plotly.NET 2.0.0 is available on nuget to plug into your favorite package manager.
51
+
Plotly.NET is available on nuget to plug into your favorite package manager.
51
52
52
53
You can find all available package versions on the [nuget page](https://www.nuget.org/packages/Plotly.NET/).
53
54
@@ -85,7 +86,7 @@ You can include the package via an inline package reference:
85
86
86
87
### For dotnet interactive notebooks
87
88
88
-
You can use the same inline package reference as in script, but as an additional goodie,
89
+
You can use the same inline package reference as in scripts, but as an additional goodie
89
90
the interactive extensions for dotnet interactive have you covered for seamless chart rendering:
90
91
91
92
```
@@ -110,7 +111,7 @@ A possible fix for this is the inclusion of Dotnet.Interactive preview package s
110
111
111
112
## Basics
112
113
113
-
The general design philosophy of Plotly.NET implements the following visualization flow:
114
+
The general, high-level API of Plotly.NET implements the following visualization flow:
114
115
115
116
- **initialize** a `GenericChart` object from the data you want to visualize by using the respective `Chart.*` function, optionally setting some specific style parameters
116
117
- further **style** the chart with fine-grained control, e.g. by setting axis titles, tick intervals, etc.
@@ -147,8 +148,8 @@ Styling functions are generally the `Chart.with*` naming convention. The followi
147
148
letmyFirstStyledChart=
148
149
Chart.Point(xData,yData)
149
150
|> Chart.withTitle "Hello world!"
150
-
|> Chart.withXAxisStyle ("xAxis", ShowGrid=false)
151
-
|> Chart.withYAxisStyle ("yAxis", ShowGrid=false)
151
+
|> Chart.withXAxisStyle ("xAxis")
152
+
|> Chart.withYAxisStyle ("yAxis")
152
153
153
154
(**
154
155
**Attention:** Styling functions mutate 😈 the input chart, therefore possibly affecting bindings to intermediary results.
@@ -197,8 +198,8 @@ Chart.Point(xData',yData')
197
198
198
199
Chart.Point(xData,yData)
199
200
|> Chart.withTitle "Hello world!"
200
-
|> Chart.withXAxisStyle ("xAxis", ShowGrid=false)
201
-
|> Chart.withYAxisStyle ("yAxis", ShowGrid=false)
201
+
|> Chart.withXAxisStyle ("xAxis")
202
+
|> Chart.withYAxisStyle ("yAxis")
202
203
203
204
204
205
(**
@@ -211,19 +212,20 @@ One of the main design points of Plotly.NET it is to provide support for multipl
211
212
212
213
[(1,5);(2,10)]
213
214
|> Chart.Point
214
-
|> Chart.withTraceInfo("Hello from F#",ShowLegend=true)
### Declarative style in F# using the underlying `DynamicObj`:
248
+
249
+
This API is the most low-level and closest to the original plotly.js syntax. Make sure to spell dynamic members exactly as they are used in the plotly.js json schema.
0 commit comments