Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
{
    id: "usage",
    label: "Diksha Usage Report",
    title: "Diksha Usage Report",
    description: "The report provides a quick summary of the data analysed by the analytics team to track progess of Diksha across states. This report will be used to consolidate insights using various metrics on which Diksha is currently being mapped and will be shared on a weekly basis. The first section of the report will provide a snapshot of the overall health of the Diksha App. This will be followed by individual state sections that provide state-wise status of Diksha",
    dataSource: "/usage/$state/report.json",
    charts: [
        {
        	datasets: [{
        		dataExpr: "{{data.Number_of_downloads}}",
        		label: "# of downloads"
        	}],
        	labelsExpr: "{{data.Date}}",
            chartType: "line"
        },
        {
        	datasets: [{
        		dataExpr: "{{data.Number_of_succesful_scans}}",
        		label: "# of successful scans"
        	}],
        	labelsExpr: "{{data.Date}}",
            chartType: "bar"
        }
    ],
    table: {
        "columnsExpr": "{{key}}",
        "valuesExpr": "{{tableData}}"
    },
    downloadUrl: "<report_id>/$state/report.csv"
}

...