Closed
Description
Here is the current diff (via https://plotly.com/javascript/reference/) for trace types that are supported by this library (on a high abstraction level, theoretically we already support everything via DynObj). in the brackets ill add the even higher level functions that build on the trace type. Checkbox is checked if we support at least some abstraction:
You want to help? Here's a quick guide on how to implement a chart:
- Take a look at this commit, which implements all the steps below: 3c6cd67
- ideally leave a comment here so we dont have multiple ppl doing the same thing
- go to the figure reference for your trace type
- implement a trace styling function for your trace type in Trace.fs :
- use
<tracetype>.init
- implement as many properties of the trace object as parameters for TraceStyle.[tracetype], but watch out if there are already TraceStyle abstractions in place. For example, the following properties are abstracted via
TraceStyle.TextLabel
:- Text
- Textposition
- Textfont: Font,
- Textsrc
- Textpositionsrc
- when possible abstract things like enums as StyleParam.
- use
- implement a higher abstraction in Chart.fs as Chart.[tracetype] that uses TraceStyle.[tracetype] and any other usefull
TraceStyle
functions to set the needed parameters such asTraceStyle.TextLabel
. - ideally leave a small poc script in Playground.fsx, or even better docs in docsrc/content
- Thanks ❤️
Simple
- Scatter (Scatter, Point, Line, Spline, Bubble, Range, Area, SplineArea, StackedArea)
- Scatter GL (Scatter, Point, Line, Spline, Bubble)
- Bar (Bar, StackedBar, Column, StackedColumn)
- Pie (Pie, Doughnut)
- Heatmap (Heatmap)
- HeatMapGL
- Image (reference) #189
- Contour (Contour)
- Table (Table)
Distributions
- Box (BoxPlot)
- Violin (Violin)
- Histogram (Histogram)
- Histogram 2D (Histogram2d)
- Histogram 2D Contour (Histogram2dContour)
Finance
- OHLC
- Candlestick (Candlestick)
- Waterfall
- Funnel
- Funnel Area
- Indicator (reference) #206
3D
- Scatter 3D (Scatter3d)
- Surface (Surface)
- Mesh (Mesh3d)
- Cone (reference) #126
- Streamtube #127
- Volume #128
- Isosurface #129
Maps
- Scatter Geo(ScatterGeo, PointGeo, LineGeo)
- Choropleth (Choropleth)
- Scatter Mapbox (ScatterMapBox, PointMapBox, LineMapBox)
- Choropleth Mapbox #91
- Density Mapbox #92
Specialized
- [Legacy] Polar Plots (Polar, Windrose)
- Scatter Polar (reference) #115
- Scatter Polar GL (reference) #116
- Bar Polar (reference) #117
- Scatter Ternary (reference) #182
- Sunburst (Sunburst 3c6cd67)
- Treemap
- Icicle (reference) #208
- Sankey
- SPLOM
- Parallel Coordinates
- Parallel Categories
- Carpet (reference) #198
- Scatter Carpet (reference) #199
- Contour Carpet (reference) #200