|
@ -49,6 +49,7 @@ export class LineChartComponent implements AfterViewInit, OnChanges, OnDestroy { |
|
|
@Input() benchmarkLabel = ''; |
|
|
@Input() benchmarkLabel = ''; |
|
|
@Input() colorScheme: ColorScheme; |
|
|
@Input() colorScheme: ColorScheme; |
|
|
@Input() currency: string; |
|
|
@Input() currency: string; |
|
|
|
|
|
@Input() dataDecimation = false; |
|
|
@Input() historicalDataItems: LineChartItem[]; |
|
|
@Input() historicalDataItems: LineChartItem[]; |
|
|
@Input() isAnimated = false; |
|
|
@Input() isAnimated = false; |
|
|
@Input() locale: string; |
|
|
@Input() locale: string; |
|
@ -209,6 +210,10 @@ export class LineChartComponent implements AfterViewInit, OnChanges, OnDestroy { |
|
|
tooltip: this.getTooltipPluginConfiguration(), |
|
|
tooltip: this.getTooltipPluginConfiguration(), |
|
|
verticalHoverLine: { |
|
|
verticalHoverLine: { |
|
|
color: `rgba(${getTextColor(this.colorScheme)}, 0.1)` |
|
|
color: `rgba(${getTextColor(this.colorScheme)}, 0.1)` |
|
|
|
|
|
}, |
|
|
|
|
|
decimation: { |
|
|
|
|
|
enabled: this.dataDecimation, |
|
|
|
|
|
algorithm: 'min-max' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
scales: { |
|
|
scales: { |
|
|