Skip to content

eLearning-BS23/moodle-block_dashboardchart

Repository files navigation

Custom Block Dashboard Chart

Dashboard Chart plugin is a block plugin in moodle. This Plugin helps to generate different types of charts such as

e chart, line chart, horizontal bar, vertical bar. User can choose the chart value and select data limit to customize their charts accordingly. The value of the chart will be displayed based on the data limit that has been set.

The custom styling is not functional yet. It will be updated shortly.

Leaderboard Types

  1. Horizontal Bar
  2. Vertical Bar
  3. Pie chart
  4. Line chart

Feature List

  • Configurable Block Heading
  • Multiple Chart Types
  • Configurable Data Limit
  • Customizable chart value
  • Show/hide chart data
  • Configurable style properties

Configuration

You can install this block plugin from Moodle plugins directory or can download from Github.

You can download zip file and install or you can put file under Custom Block Dashboard Chart.

Plugin Global Settings

Go to

Dashboard->Site administration->Plugins->blocks->dashboardchart settings

image

Color for the Horizontal Bar, Vertical Bar and Line chart can be chosen from the plugin settings.

Screenshot from 2022-12-23 12-09-19

Adding the Dashboard Chart Plugin

  Customize this page-> Add a block-> Add-> Dashboard Chart

Screenshot from 2022-01-17 18-13-10

After adding dashboard chart, go to configure dashboard chart block in order to configure it:

Screenshot from 2022-01-17 18-14-27

Graph Types

You can select your preferred chart from Graph type

graph1

Pie Chart:

graph4

Line Chart:

graph7

Vertical Bar:

graph6

Horizontal Bar:

graph5

You can choose chart value and configure data limit as well:

graph2

graph3

Author

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see GNU License.