National Dashboard Service Configuration
Last updated
Last updated
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
Possible Values: true/false
Supported Chart Types: METRIC
How it Works: This property is added to support the new requirement to show the Date and the last updated time in the Todays Collection Metric Chart
Populating true for isTodaysCollection for a any chart config in chartApiConfig.json of type metric chart, MetricChartResponseHandler looks for todaysDate and lastUpdatedTime aggregations with the bucket(s) having epoch in key. This is used as values for todaysDate and lastUpdatedTime respectively and added to plots in the response. The UI framework is used to show the Collection on Date and lastupdate time tooltip.
Sample Response
Sample Query
Posssible Vaues: Map he key as one of the aggregationPaths and value as compute Helper
For instance -
Supported Chart Types: METRIC
How it Works: Metric Chart Type has the action property. Possible values include percentage or undefined. On Collecting the aggregationPath values -
percentage is calculated if the action is percentage
all aggregation values are summed up if the action is undefined
For TargetAchievement there is a requirement to apply repsonseToDifferenceOfDates
compute helper on one of the aggregation path values before applying action.
The preaction theory helps to apply to compute helper before actually applying the action.
According to the above example, responseToDifferenceOfDate Compute helper is applied to the value of the Actual Collection aggregation before applying percentage calculation on all aggregation values. National Dashboard UI Tech Documentation:
National Dashboard - UI Technical Documentation
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.