You are here

README.txt in Easychart 8.3

Same filename and directory in other branches
  1. 7.3 README.txt
  2. 7 README.txt
  3. 7.2 README.txt
-- SUMMARY --

Easychart provides a way to create charts based on the powerful Highcharts library
(http://www.highcharts.com/products/highcharts).

This module:

* Defines a new Content Type named 'Chart' that allows you to add one or more charts to your website.
* Integrates with the Entity embed module and provides an editor button that allows you to add charts
  to your content.
* Gives you an easy interface to configure your charts through the Easychart jQuery plugin.

Attention:

Highcharts is free for personal, school or non-profit projects under the Creative Commons Attribution - Non Commercial
3.0 License. For commercial and governmental websites and projects, you need to buy a license. (But they're absolutely
worth every penny.) See http://shop.highsoft.com/highcharts.html.

-- INSTALLATION --

1. Download and install the Easychart module: https://drupal.org/project/easychart

2. If you use drush, then run 'drush easychart-dependencies' to install the latest Highcharts and Easychart plugins.

3. If you are not using drush, download the Highcharts plugin at http://www.highcharts.com/download and place it in
   /libraries/highcharts

4. If you are not using drush, download the v3 Easychart plugin at https://github.com/daemth/easychart and place
   it in /libraries/easychart. The result should be /libraries/easychart/dist/ec.js.


-- Editor integration: Entity Embed ---

If you install the Entity Embed module, you can automatically embed nodes which contains charts. An additional
display plugin inside Entity embed will be made available that only prints the chart itself and not the complete
entity.

See https://www.drupal.org/project/entity_embed

-- NOTES WHEN USING CSV DATA URL --

In the Easychart interface, you can choose to get your date from an external url. Make sure that there are no
cross-domain issues otherwise this functionality wil not work. For performance reasons, we cache the data from the url,
and only update this data when cron runs. You can overwrite the frequency by setting the variable
'easychart_url_update_frequency'.

-- VIEWS INTEGRATION --

If you want to expose data from your nodes to Easychart, you can follow these steps:

1. Download and install the Views Data Export module at https://www.drupal.org/project/views_data_export.

2. Create a View with a 'Data Export' display and 'CSV file' as Export type.

3. Set the path for that View, and use that path, including your domain name, as the 'url CSV' in the Easychart plugin.


-- POSSIBLE ISSUES --

1. I get a javascript error: 'uncaught exception: Highcharts error #13: www.highcharts.com/errors/13'
   The chart needs a div to be printed in. If your Text Format does not allow DIV's to be printed, you will get the
   error above, and the chart will not be printed.
   See step 4 under 'WYSIWYG PLUGIN' for the solution.

This project is sponsored by Bestuurszaken, Vlaamse Overheid: http://www.bestuurszaken.be

-- ACCESSIBILITY --

See https://www.drupal.org/node/2728809 on how to make your charts accessible. We have chosen not to do this by default for performance reasons.

-- CREDITS --

This project is sponsored by The Government of Flanders: http://overheid.vlaanderen.be.

The following libraries made this module possible:

1. Highcharts: http://highcharts.com/

2. screenfull.js: https://github.com/sindresorhus/screenfull.js

3. Handsontable: https://github.com/handsontable/handsontable

File

README.txt
View source
  1. -- SUMMARY --
  2. Easychart provides a way to create charts based on the powerful Highcharts library
  3. (http://www.highcharts.com/products/highcharts).
  4. This module:
  5. * Defines a new Content Type named 'Chart' that allows you to add one or more charts to your website.
  6. * Integrates with the Entity embed module and provides an editor button that allows you to add charts
  7. to your content.
  8. * Gives you an easy interface to configure your charts through the Easychart jQuery plugin.
  9. Attention:
  10. Highcharts is free for personal, school or non-profit projects under the Creative Commons Attribution - Non Commercial
  11. 3.0 License. For commercial and governmental websites and projects, you need to buy a license. (But they're absolutely
  12. worth every penny.) See http://shop.highsoft.com/highcharts.html.
  13. -- INSTALLATION --
  14. 1. Download and install the Easychart module: https://drupal.org/project/easychart
  15. 2. If you use drush, then run 'drush easychart-dependencies' to install the latest Highcharts and Easychart plugins.
  16. 3. If you are not using drush, download the Highcharts plugin at http://www.highcharts.com/download and place it in
  17. /libraries/highcharts
  18. 4. If you are not using drush, download the v3 Easychart plugin at https://github.com/daemth/easychart and place
  19. it in /libraries/easychart. The result should be /libraries/easychart/dist/ec.js.
  20. -- Editor integration: Entity Embed ---
  21. If you install the Entity Embed module, you can automatically embed nodes which contains charts. An additional
  22. display plugin inside Entity embed will be made available that only prints the chart itself and not the complete
  23. entity.
  24. See https://www.drupal.org/project/entity_embed
  25. -- NOTES WHEN USING CSV DATA URL --
  26. In the Easychart interface, you can choose to get your date from an external url. Make sure that there are no
  27. cross-domain issues otherwise this functionality wil not work. For performance reasons, we cache the data from the url,
  28. and only update this data when cron runs. You can overwrite the frequency by setting the variable
  29. 'easychart_url_update_frequency'.
  30. -- VIEWS INTEGRATION --
  31. If you want to expose data from your nodes to Easychart, you can follow these steps:
  32. 1. Download and install the Views Data Export module at https://www.drupal.org/project/views_data_export.
  33. 2. Create a View with a 'Data Export' display and 'CSV file' as Export type.
  34. 3. Set the path for that View, and use that path, including your domain name, as the 'url CSV' in the Easychart plugin.
  35. -- POSSIBLE ISSUES --
  36. 1. I get a javascript error: 'uncaught exception: Highcharts error #13: www.highcharts.com/errors/13'
  37. The chart needs a div to be printed in. If your Text Format does not allow DIV's to be printed, you will get the
  38. error above, and the chart will not be printed.
  39. See step 4 under 'WYSIWYG PLUGIN' for the solution.
  40. This project is sponsored by Bestuurszaken, Vlaamse Overheid: http://www.bestuurszaken.be
  41. -- ACCESSIBILITY --
  42. See https://www.drupal.org/node/2728809 on how to make your charts accessible. We have chosen not to do this by default for performance reasons.
  43. -- CREDITS --
  44. This project is sponsored by The Government of Flanders: http://overheid.vlaanderen.be.
  45. The following libraries made this module possible:
  46. 1. Highcharts: http://highcharts.com/
  47. 2. screenfull.js: https://github.com/sindresorhus/screenfull.js
  48. 3. Handsontable: https://github.com/handsontable/handsontable