I am working with ng2-charts
and I would like to know if there is any way to remove the negative scale de la
graph cuando esta este en
0 , solamente ocupo que se muestren
the positive scale , estoy utilizando
Line Chart '.
this is the code of the graphic
public lineChartData:Array<any> = [
{ data: [], label: 'Litros'}
];
public lineChartLabels:Array<any> = [];
public lineChartOptions:any = {
responsive: true
};
public lineChartColors:Array<any> = [
{ // grey
backgroundColor: 'rgba(72, 208, 255, 0.5)',
borderColor: 'rgba(72, 208, 255, 1)',
pointBackgroundColor: 'rgba(148,159,177,1)',
pointBorderColor: '#fff',
pointHoverBackgroundColor: '#fff',
pointHoverBorderColor: 'rgba(148,159,177,0.8)'
}
];
public lineChartLegend:boolean = true;
public lineChartType:string = 'line';