Skip to content

Reorganize project layout and QOL features #132

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

Closed
kMutagene opened this issue Aug 15, 2021 · 0 comments · Fixed by #148
Closed

Reorganize project layout and QOL features #132

kMutagene opened this issue Aug 15, 2021 · 0 comments · Fixed by #148

Comments

@kMutagene
Copy link
Collaborator

kMutagene commented Aug 15, 2021

This project has gotten to a size where it is not easy to find things without adding a layer of organization.

Things to do here:

  • Trace/TraceStyle:

    • get rid of Trace/Trace3d type separation
    • Add multiple new Trace types: Trace2D, TraceMap, TracePolar, TraceTernary, TraceCarpet, TraceDomain. Especially usefull for deciding subplot id for things like Chart.Grid. Maybe use an interface ITrace instead of inheritance from the default Trace type
    • TraceStyle functions should be easier to use on Charts. Add Chart.withTraceStyle(styleFunction:Trace->Trace)
  • Chart:
    refactor into separate files with type extensions for Chart, e.g.:
    folder Chart -> Chart2D.fs (all standard 2D charts) -> Chart3D.fs (type extensions for 3D charts) -> ChartPolar.fs (type extensions for polar charts) -> 3D.fs ... etc

  • Layout objects:

    • not sure if there is an inherent order here
    • at least put all of the in a folder called LayoutObjects
kMutagene added a commit that referenced this issue Aug 26, 2021
#132: Rework project structure and namespaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant