d2-charts-api
Advanced tools
Comparing version 32.0.6 to 33.0.0
@@ -22,2 +22,3 @@ 'use strict'; | ||
switch (layout.type) { | ||
case _type.CHART_TYPE_GAUGE: | ||
case _type.CHART_TYPE_YEAR_OVER_YEAR_LINE: | ||
@@ -24,0 +25,0 @@ case _type.CHART_TYPE_YEAR_OVER_YEAR_COLUMN: |
@@ -11,3 +11,2 @@ "use strict"; | ||
acc.push({ | ||
name: metaData.items[seriesId].name, | ||
data: [parseFloat(idValueMap.get(seriesId))] | ||
@@ -14,0 +13,0 @@ }); |
{ | ||
"name": "d2-charts-api", | ||
"version": "32.0.6", | ||
"version": "33.0.0", | ||
"description": "DHIS2 charts api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
import isString from 'd2-utilizr/lib/isString'; | ||
import getFilterTitle from '../getFilterTitle'; | ||
import { CHART_TYPE_YEAR_OVER_YEAR_LINE, CHART_TYPE_YEAR_OVER_YEAR_COLUMN } from '../type'; | ||
import { | ||
CHART_TYPE_YEAR_OVER_YEAR_LINE, | ||
CHART_TYPE_YEAR_OVER_YEAR_COLUMN, | ||
CHART_TYPE_GAUGE, | ||
} from '../type'; | ||
import getYearOverYearTitle from './yearOverYear'; | ||
@@ -45,2 +49,3 @@ | ||
switch (layout.type) { | ||
case CHART_TYPE_GAUGE: | ||
case CHART_TYPE_YEAR_OVER_YEAR_LINE: | ||
@@ -47,0 +52,0 @@ case CHART_TYPE_YEAR_OVER_YEAR_COLUMN: |
@@ -5,5 +5,4 @@ export default function(acc, seriesIds, categoryIds, idValueMap, metaData) { | ||
acc.push({ | ||
name: metaData.items[seriesId].name, | ||
data: [parseFloat(idValueMap.get(seriesId))], | ||
}); | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3942
338778
144
1