Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function initGraph(graphJSON){
- graph = Highcharts.chart('container', {
- chart: {
- type: 'column'
- },
- title: {
- text: graphJSON.name,
- style: {
- "fontSize": "18px",
- "text-transform": "uppercase",
- "font-weight": "bold"
- }
- },
- legend: {
- itemWidth:100,
- useHTML:true
- },
- yAxis:{
- title:{
- text: ''
- },
- labels:{
- format: '{value} ' + graphJSON.label
- }
- },
- xAxis: {
- categories: graphJSON.categories
- },
- credits: {
- enabled: false
- },
- tooltip: {
- valueSuffix: ' ' + graphJSON.label,
- shared: true
- },
- series: []
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement