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

Data visualization for Dojo 2 #2

Open
novemberborn opened this issue Aug 22, 2016 · 1 comment
Open

Data visualization for Dojo 2 #2

novemberborn opened this issue Aug 22, 2016 · 1 comment

Comments

@novemberborn
Copy link
Contributor

Data visualization for Dojo 2 fits in with the widget system. This means being able to declaratively render charts using the app factory, pulling data from stores, being able to mix in behavior, and so forth.

It also utilizes TypeScript. This allows charts to be created that have specific expectations on their input data. Rather than requiring users to compute the numbers needed to render a chart, charts can be plotted based on the objects already used elsewhere in the application.

Dojo 2 provides extensible chart types. Users can then develop chart widgets in accordance with their style guide and data requirements, such that it can be wired into an application without any further configuration.

Initially charts will be rendered as SVG, however the methods that produce the VNodes must be separate from those that compute the plot points. This will make it easier to extend charts using AOP, as well as target different renderings.

As much as possible charts should be styled using CSS, using both semantic and customizable class names. Only where necessary for correct rendering, or because CSS does not have sufficient browser support, should styling options be configured when building charts.

Configuration itself must be flexible, including pulling from stores, taking options, and providing it when creating subclasses.

Charts must be reactive, responding to state changes or subscribing to observables. Indeed observables are used to perform the computations necessary for plotting.

@dylans
Copy link
Member

dylans commented Dec 8, 2016

At some point in the near future, it will be time to revisit this and probably refactor the API substantially. Namely:

  • We now have a much clearer direction for Widgets
  • Stores and data are much further along and will be heavily used by dataviz
  • API needs to be clear and intuitive to use, and consistent with other Dojo 2 paradigms

@dylans dylans modified the milestone: 2017.04 Jan 24, 2017
@dylans dylans modified the milestones: 2017.04, 2017.05 Apr 29, 2017
@dylans dylans modified the milestones: 2017.05, 2017.06 May 30, 2017
@eheasley eheasley modified the milestones: long-grass, 2017.06 Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants