Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trace Diff log to plotly.js #42

Closed
47 tasks done
kMutagene opened this issue Jun 9, 2020 · 2 comments · Fixed by #210
Closed
47 tasks done

Trace Diff log to plotly.js #42

kMutagene opened this issue Jun 9, 2020 · 2 comments · Fixed by #210
Labels
Area: MissingAbstraction Plotly.js functionality that has to be implemented help wanted Type: Enhancement
Milestone

Comments

@kMutagene
Copy link
Member

kMutagene commented Jun 9, 2020

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.
  • 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 as TraceStyle.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

3D

Maps

Specialized

@kMutagene
Copy link
Member Author

OHLC via 0d787cf

@kMutagene kMutagene mentioned this issue Jun 15, 2020
13 tasks
@kMutagene kMutagene added this to the 2.0 milestone Jun 15, 2020
kMutagene added a commit that referenced this issue Jun 16, 2020
#42: Add option to render all charts derived from the scatter trace type via WebGL as scattergl trace

#40: Add markdown comments for all  all charts derived from the scatter trace
kMutagene added a commit that referenced this issue Jun 16, 2020
@kMutagene
Copy link
Member Author

ScatterGeo via 4865c5a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: MissingAbstraction Plotly.js functionality that has to be implemented help wanted Type: Enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant