mirror of https://github.com/Lissy93/dashy.git
💄 Allows user to set chart colors and height
This commit is contained in:
parent
c5f9f5e216
commit
382d43f52c
|
@ -72,7 +72,7 @@ export default {
|
||||||
title: `${this.asset} Price Chart`,
|
title: `${this.asset} Price Chart`,
|
||||||
data: this.chartData,
|
data: this.chartData,
|
||||||
type: 'axis-mixed',
|
type: 'axis-mixed',
|
||||||
height: 200,
|
height: this.chartHeight,
|
||||||
colors: this.chartColors,
|
colors: this.chartColors,
|
||||||
truncateLegends: true,
|
truncateLegends: true,
|
||||||
lineOptions: {
|
lineOptions: {
|
||||||
|
|
|
@ -77,7 +77,7 @@ export default {
|
||||||
title: `${this.stock} Price Chart`,
|
title: `${this.stock} Price Chart`,
|
||||||
data: this.chartData,
|
data: this.chartData,
|
||||||
type: 'axis-mixed',
|
type: 'axis-mixed',
|
||||||
height: 200,
|
height: this.chartHeight,
|
||||||
colors: this.chartColors,
|
colors: this.chartColors,
|
||||||
truncateLegends: true,
|
truncateLegends: true,
|
||||||
lineOptions: {
|
lineOptions: {
|
||||||
|
|
Loading…
Reference in New Issue