Here is my chart config:
export const DEFAULT_CHART_OPTIONS = {
theme: ChartConstants.THEME,
animationEnabled: true,
options: {
scales: {
y: {
stacked: true,
},
},
},
title: {
text: '',
},
axisX: {
valueFormatString: '',
interval: 1,
intervalType: 'month',
},
axisY: {
title: '',
suffix: '',
},
toolTip: {
shared: 'true',
},
legend: {
cursor: ChartConstants.CURSOR,
},
data: [],
};
and here is the exact line config:
predictGraph: {
markerSize: 1,
showInLegend: true,
dataPoints: [],
name: TextConstants.PREDICT,
type: ChartConstants.LINE_TYPE,
lineDashType: ChartConstants.DASH_TYPE,
legendMarkerType: 'triangle',
legendMarkerColor: 'white',
color: ChartConstants.SECOND_LINE_COLOR,
xValueType: 'dateTime',
}