y axis labelling
This commit is contained in:
parent
ca37e38800
commit
1a75f8c242
@ -66,7 +66,16 @@ export default {
|
||||
if (typeof y.max_value === 'number')
|
||||
range.suggestedMax = y.max_value;
|
||||
|
||||
return { id: index, ticks: range };
|
||||
return {
|
||||
id: index,
|
||||
ticks: range,
|
||||
scaleLabel: {
|
||||
labelString: y.label,
|
||||
display: true,
|
||||
lineHeight: 1,
|
||||
padding: 0.1
|
||||
}
|
||||
};
|
||||
}
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user