-
Notifications
You must be signed in to change notification settings - Fork 8
Developing a new visualization
Jorge Yagüe París edited this page Jan 30, 2017
·
4 revisions
This manual is intended for developers that want to contribute to Proteic adding new visualizations.
- Declare the new module in
index.ts
- Create a new file in
src/charts/
, named after your new visualization. This file will hold the TypeScript class that represents the visualization. - Create the default configuration for the visualization, in
src/utils/defaults/
, named after the visualization. - Create the strategy class to draw the visualization, in
src/svg/strategies/
. - Add the necessary components to
src/svg/components/
. You can re-use the existing ones, if possible. - Add one example using your new visualization to
examples/
. - Add tests and documentation.
- Getting started
- Data format
- Data sources
- Available visualizations
-
Configuration
- Common parameters
- Chart specific parameters
- Components parameters
- Colours
- Statistics
- Annotations