🩹 Minor formatting fix for stock and crypto price widgets

This commit is contained in:
Alicia Sykes
2021-12-29 12:51:29 +00:00
parent 9933766adf
commit c4ac847fc4
2 changed files with 6 additions and 4 deletions

View File

@@ -121,9 +121,9 @@ export default {
});
// // Combine results with chart config
this.chartData = {
labels: priceLabels,
labels: priceLabels.reverse(),
datasets: [
{ name: `Price ${this.priceTime}`, type: 'bar', values: priceValues },
{ name: `Price ${this.priceTime}`, type: 'bar', values: priceValues.reverse() },
],
};
// // Call chart render function