Using VisualN
To apply VisualN drawers to data sources you need to:
- Create a Visualization style: go to Configuration -> Media -> Visualization styles
- Choose a drawer in Visualization style and set default settings if any
- Attach to the data source: whether you are using views (then you choose VisualN as a view style), or a file/external resource (then you create a field of type VisualN file / VisualN resource).
If you are using an entity field, you should also go to formatter settings and choose default style (that you've created earlier) for the field.
Data sources
Views as data sources
There are three strategies to create views-based visualizations:
1. Use VisualN Views module and the view display style that comes with it.
Create a view and select fields that you want to use as data sources. Change views Format to VisualN. In the Format settings choose visualization style, change drawer configuration (if any is provided by the drawer) and set field mappings (for each drawer data key select a field to be used as its source).
2. Use VisualN Resource module together with an RSS (JSON, CSV etc.) View.
Create a view of rss type (or maybe some other, e.g. json or csv using some custom modules). Attach a VisualN Resource field to an entity and create a content pointing to the view url. In this case you should make sure that there is a corresponding VisualN adapter supporting view output format (currently csv and tsv are implemented). The drawback of this option that you can't export it into configuration since entities are content. If you need to export drawing blocks into configuration to move between dev and prod environments see the next option.
3. Use VisualN Block module together with an RSS (JSON, CSV etc.) View.
Create an rss view as in option #2 but instead of creating an entity with a VisualN Resource field use VisualN Block which provides a "resource url" setting. In this case the drawing can be exported into configuration.
Uploaded files as data sources
TBD.
External resources as data sources
TBD.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion