label:`${unit=="percentOfFullCurrency"?`monetaryMass (in % of full currency)`:`#${unit=="relative"?"DUğ1":'Ğ1'}${massByMembers=="yes"?'/member':''}`}`,
text:`${unit=="relative"?"DUğ1":'Ğ1'} Monetary Mass ${massByMembers=="yes"?'by members ':''}in the range #${begin}-#${end}`
text:`${unit=="percentOfFullCurrency"?`Monetary Mass in percent of full currency `:`${unit=="relative"?"DUğ1":'Ğ1'} Monetary Mass ${massByMembers=="yes"?'by members ':''}`}in the range #${begin}-#${end}`
},
legend:{
display:false
display:true
},
scales:{
yAxes:[{
//yAxisID: 1,
type:type,
position:'left',
ticks:{
min:1,
max:maxYAxes
callback:function(value,index,values){//needed to change the scientific notation results from using logarithmic scale
returnNumber(value.toString());//pass tick values as a string into Number function
},
max:maxYAxes,
}
}]
}/*,
{
//yAxisID: 2,
type: type,
position: 'right',
ticks: {
callback: function(value, index, values) {//needed to change the scientific notation results from using logarithmic scale
return Number(value.toString()); //pass tick values as a string into Number function