Skip to content
Snippets Groups Projects

Issue #3344868: Replace README.txt with README.md and update README.md file

Closed Issue #3344868: Replace README.txt with README.md and update README.md file
10 unresolved threads
10 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
21 - Configuration
22 - Maintainers
12 23
13 ## Installation and configuration
24
25 ## Requirements
26
27 This module requires no modules outside of Drupal core.
28
29
30 ## Installation
14 31
15 32 ChartJS API Plugin can be installed like any other Drupal module.
16 33 Place it in the modules directory for your site and enable it
17 on the `admin/modules` page.
34 on the `admin/modules` page
  • 24 48 - graph_type: Chart type (line, bar, radar, pie... and halfdonut).
    25 49 - id: Unique id for chart.
    26 50 - options: Array with options of ChartJS.js library, with same structure.
    27 - plugins: Plugins to activate. This module include halfdonutTotal plugin.
    51 - plugins: Plugins to activate. This module include half doughnut plugin.
  • 24 48 - graph_type: Chart type (line, bar, radar, pie... and halfdonut).
    25 49 - id: Unique id for chart.
    26 50 - options: Array with options of ChartJS.js library, with same structure.
    27 - plugins: Plugins to activate. This module include halfdonutTotal plugin.
    51 - plugins: Plugins to activate. This module include half doughnut plugin.
    28 52 This plugin display the title inside half doughnut.
    29 53 - type: chartjs_api
    30 54
    31 You can find more info in ChartJs documentation:
    32 http://www.chartjs.org/docs/latest/
    55 You can find more info in [ChartJs documentation](http://www.chartjs.org/docs/latest/)
  • Nitin Lama added 1 commit

    added 1 commit

    Compare with previous version

  • 1 1 # ChartJS API
    2 2
    3 ## Introduction
    4
    5 3 Integration API with the ChartJS library that provides a "render element"
    6 4 for generating graphs.
    • Comment on lines 5 to 6

      The sentence is missing the subject (This module) and the verb (provides an). Instead of that provides a "render element" for generating graphs it should say for a graph render element.

      Edited by Alberto Paderno
    • This has not been fixed: The sentence is missing the subject (This module) and the verb (provides an). Instead of that provides a "render element" for generating graphs it should say for a graph render element.

    • Please register or sign in to reply
  • 20 - Installation
    21 - Configuration
    22 - Maintainers
    12 23
    13 ## Installation and configuration
    24
    25 ## Requirements
    26
    27 This module requires no modules outside of Drupal core.
    28
    29
    30 ## Installation
    14 31
    15 32 ChartJS API Plugin can be installed like any other Drupal module.
    16 33 Place it in the modules directory for your site and enable it
    17 on the `admin/modules` page.
  • 16 33 Place it in the modules directory for your site and enable it
    17 on the `admin/modules` page.
    34 on the "admin/modules" page
    35
    36 Install as you would normally install a contributed Drupal module. Visit
    37 [Installing Drupal Modules](https://www.drupal.org/docs/extending-drupal/installing-drupal-modules)
    38 for further information.
    39
    40
    41 ## Configuration
    18 42
    19 43 This module use lastest version of ChartJS.js library from CDN.
    20 44
    21 45 Parameters for "render element" array:
    22 46 - data: Array with labels and datasets with same structure
    23 47 than the ChartJS.js library.
  • 21 45 Parameters for "render element" array:
    22 46 - data: Array with labels and datasets with same structure
    23 47 than the ChartJS.js library.
    24 48 - graph_type: Chart type (line, bar, radar, pie... and halfdonut).
    25 49 - id: Unique id for chart.
    26 50 - options: Array with options of ChartJS.js library, with same structure.
    27 51 - plugins: Plugins to activate. This module include halfdonutTotal plugin.
    28 This plugin display the title inside half doughnut.
    52 This plugin display the title inside half doughnut.
    29 53 - type: chartjs_api
    30 54
    31 You can find more info in ChartJs documentation:
    32 http://www.chartjs.org/docs/latest/
    55 You can find more information in the [ChartJs documentation](http://www.chartjs.org/docs/latest/)
    33 56
    34 57 Example of use:
  • Nitin Lama added 1 commit

    added 1 commit

    Compare with previous version

  • 22 42 - data: Array with labels and datasets with same structure
    23 than the ChartJS.js library.
    43 than the ChartJS.js library.
    24 44 - graph_type: Chart type (line, bar, radar, pie... and halfdonut).
    25 45 - id: Unique id for chart.
    26 46 - options: Array with options of ChartJS.js library, with same structure.
    27 47 - plugins: Plugins to activate. This module include halfdonutTotal plugin.
    28 This plugin display the title inside half doughnut.
    48 This plugin display the title inside half doughnut.
    29 49 - type: chartjs_api
    30 50
    31 You can find more info in ChartJs documentation:
    32 http://www.chartjs.org/docs/latest/
    51 You can find more information in the [ChartJs documentation](http://www.chartjs.org/docs/latest/)
    52
    53 Usage example:
  • 43 than the ChartJS.js library.
    24 44 - graph_type: Chart type (line, bar, radar, pie... and halfdonut).
    25 45 - id: Unique id for chart.
    26 46 - options: Array with options of ChartJS.js library, with same structure.
    27 47 - plugins: Plugins to activate. This module include halfdonutTotal plugin.
    28 This plugin display the title inside half doughnut.
    48 This plugin display the title inside half doughnut.
    29 49 - type: chartjs_api
    30 50
    31 You can find more info in ChartJs documentation:
    32 http://www.chartjs.org/docs/latest/
    51 You can find more information in the [ChartJs documentation](http://www.chartjs.org/docs/latest/)
    52
    53 Usage example:
    54
    55 ### Bar graph.
  • 55 77 '#id' => 'mychart',
    56 78 '#type' => 'chartjs_api',
    57 79 ];
    80 ```
    81
    82
    83 ### Half doughnut graph.
  • Nitin Lama added 1 commit

    added 1 commit

    Compare with previous version

  • Please register or sign in to reply
    Loading