💄 Allows user to set chart colors and height
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user