d2-charts-api
Advanced tools
Comparing version 32.0.2 to 32.0.3
@@ -131,3 +131,4 @@ 'use strict'; | ||
seriesObj.yAxis = fullIdAxisMap[seriesObj.id]; | ||
// axis number | ||
seriesObj.yAxis = (0, _type.isDualAxis)(layout.type) ? fullIdAxisMap[seriesObj.id] : 0; | ||
@@ -134,0 +135,0 @@ // custom names for "year over year" series |
@@ -61,3 +61,3 @@ 'use strict'; | ||
var dualAxisTypes = [CHART_TYPE_COLUMN, CHART_TYPE_BAR, CHART_TYPE_LINE, CHART_TYPE_AREA]; | ||
var dualAxisTypes = [CHART_TYPE_COLUMN, CHART_TYPE_BAR, CHART_TYPE_LINE]; | ||
@@ -64,0 +64,0 @@ function getIsStacked(type) { |
{ | ||
"name": "d2-charts-api", | ||
"version": "32.0.2", | ||
"version": "32.0.3", | ||
"description": "DHIS2 charts api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -90,3 +90,4 @@ import getCumulativeData from './../getCumulativeData'; | ||
seriesObj.yAxis = fullIdAxisMap[seriesObj.id]; | ||
// axis number | ||
seriesObj.yAxis = isDualAxis(layout.type) ? fullIdAxisMap[seriesObj.id] : 0; | ||
@@ -93,0 +94,0 @@ // custom names for "year over year" series |
@@ -34,3 +34,2 @@ import arrayContains from 'd2-utilizr/lib/arrayContains'; | ||
CHART_TYPE_LINE, | ||
CHART_TYPE_AREA, | ||
]; | ||
@@ -37,0 +36,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
335044
3885