gevgeny / angular2-highcharts

:bar_chart: :chart_with_upwards_trend: Highcharts for your Angular project
MIT License
381 stars 113 forks source link

type=line did not show data in graph #268

Open BaymaxGroot opened 5 years ago

BaymaxGroot commented 5 years ago

image

Line Chart did not show the data:

option file is blow:

{ chart: { type: 'line' }, title: { text: null }, exporting: { enabled: false }, credits: { enabled: false }, colors: ['#23AAE2'], xAxis: { categories: ['prodcp1', 'prodcp2', 'prodcp3', 'prodcp4', 'prodcp5', 'prodcp6', 'prodcp7', 'prodcp8', 'prodcp9', 'prodcp1eu', 'prodcp2eu', 'prodcp3eu', 'prodcp4eu', 'prodcp1aps', 'stgcp1eu', 'stgcp2', 'stgcp1aps', 'xae-prod-us', 'xae-prod-eu', 'xae-prod-aps', 'xae-stg-us', 'xae-stg-eu', 'xae-stg-aps'], tickLength: 5 }, tooltip: { formatter: function () { return '' + this.x + '
' + this.series.name + ': ' + this.y + '%' } }, yAxis: { title: { text: '%' }, floor: 0, min: 0, max: 100, tickAmount: 11, allowDecimals: false }, legend: { enabled: false }, series: [{ name: 'Success Rate', type: 'line', data: [100, 98.6, 78, 98, 99.6, 89, 50, 40, 78, 100, 57, 68, 89, 90, 89, 76.5, 87.9, 100, 67.8, 80.5, 78, 99.5, 99.8] }] }

Thanks for you help!!!!!!!!!!!!!!!!!