Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $scope.chartConfig = {
- options:
- chart:
- type: 'spline'
- plotBackgroundColor: null
- legend:
- enabled: true
- title:
- text: ''
- subtitle:
- text: ''
- exporting:
- url: $config.exportAddress
- width: 1000
- series: [{
- name: ''
- data: [
- ]
- },{
- name: ''
- data: [
- ]
- }]
- loading: false
- xAxis:
- categories: [
- ]
- title:
- text: ''
- yAxis:
- title:
- text: ''
- useHighStocks: false
- size:
- height: 500
- }
- <div class="panel-body" id="report-display normalchart" ng-if="!productMonthlyChart">
- <highchart id="chart1" config="chartConfig"></highchart>
- </div>
- $scope.chartConfig.series.length = 0
- # Set title and chart time and and name
- $scope.chartConfig.xAxis.categories = ['Build Overview']
- $scope.chartConfig.options.chart.type = 'column'
- $scope.graphName = 'Column Chart'
- $scope.chartConfig.series.push({name: 'Admitted', data: [$scope.fullBuildTotals.admitted]})
- $scope.chartConfig.series.push({name: 'Deprecated', data: [$scope.fullBuildTotals.deprecated]})
- $scope.chartConfig.series[0].show()
- $scope.chartConfig.series[0].hide()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement