Created
April 1, 2011 16:15
-
-
Save emptyflask/898416 to your computer and use it in GitHub Desktop.
ZingChart themes/defaultsurl not working?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"graphset":[ | |
{ | |
"scale-x":{ | |
"zooming":1, | |
"values":["2011-02-25","2011-02-26","2011-02-27","2011-02-28","2011-03-01","2011-03-02","2011-03-03","2011-03-04","2011-03-05","2011-03-06","2011-03-07","2011-03-08","2011-03-09","2011-03-10","2011-03-11","2011-03-12","2011-03-13","2011-03-14","2011-03-15","2011-03-16","2011-03-17","2011-03-18","2011-03-19","2011-03-20","2011-03-21","2011-03-22","2011-03-23","2011-03-24"] | |
}, | |
"scale-y":{ | |
"text":"Client Nondefault Impressions" | |
}, | |
"series":[ | |
{ | |
"tooltip-text":"Ad: BaptistHealth-BCVI:CC::160x600:<br/>%v client_nondefault_impressions", | |
"marker":{ | |
"border-color":"#0000cc", | |
"background-color":"#0000cc" | |
}, | |
"background-color":"#0000cc", | |
"text":"Ad: BaptistHealth-BCVI:CC::160x600:", | |
"line-color":"#0000cc", | |
"values":[4044.0,3706.0,4062.0,2981.0,5680.0,5465.0,5788.0,5764.0,5840.0,5958.0,5919.0,11012.0,9972.0,11032.0,7976.0,7733.0,7297.0,5417.0,5659.0,4988.0,1585.0,1606.0,1570.0,1572.0,1589.0,1569.0,1596.0,1594.0], | |
"type":"area", | |
"stacked":"true", | |
"scales":"scale-x,scale-y" | |
}, | |
{ | |
"tooltip-text":"Ad: BaptistHealth-BCVI:CC::160x600:<br/>%v client_nondefault_clicks", | |
"marker":{ | |
"border-color":"#009900", | |
"background-color":"#009900" | |
}, | |
"background-color":"#009900", | |
"text":"Ad: BaptistHealth-BCVI:CC::160x600:", | |
"line-color":"#009900", | |
"values":[8.0,1.0,8.0,1.0,7.0,6.0,5.0,0.0,1.0,7.0,8.0,9.0,5.0,7.0,6.0,4.0,3.0,3.0,2.0,3.0,0.0,0.0,0.0,0.0,1.0,1.0,1.0,1.0], | |
"type":"bar", | |
"stacked":"true", | |
"background-color-2":"#009900", | |
"scales":"scale-x,scale-y-2", | |
"alpha":0.8 | |
}, | |
{ | |
"tooltip-text":"Ad: BaptistHealth-BCVI:CC::300x250:<br/>%v client_nondefault_impressions", | |
"marker":{ | |
"border-color":"#124ad0", | |
"background-color":"#124ad0" | |
}, | |
"background-color":"#124ad0", | |
"text":"Ad: BaptistHealth-BCVI:CC::300x250:", | |
"line-color":"#124ad0", | |
"values":[12301.0,11310.0,10215.0,7622.0,10457.0,10593.0,11002.0,10645.0,9911.0,10180.0,11286.0,12936.0,12459.0,17375.0,12069.0,11254.0,10267.0,10058.0,11315.0,11092.0,10440.0,10062.0,9371.0,9792.0,9540.0,7829.0,6565.0,6494.0], | |
"type":"area", | |
"stacked":"true", | |
"scales":"scale-x,scale-y" | |
}, | |
{ | |
"tooltip-text":"Ad: BaptistHealth-BCVI:CC::300x250:<br/>%v client_nondefault_clicks", | |
"marker":{ | |
"border-color":"#4aad00", | |
"background-color":"#4aad00" | |
}, | |
"background-color":"#4aad00", | |
"text":"Ad: BaptistHealth-BCVI:CC::300x250:", | |
"line-color":"#4aad00", | |
"values":[17.0,17.0,10.0,27.0,18.0,20.0,21.0,25.0,25.0,22.0,16.0,34.0,32.0,34.0,23.0,27.0,45.0,36.0,25.0,21.0,34.0,24.0,22.0,37.0,28.0,26.0,17.0,21.0], | |
"type":"bar", | |
"stacked":"true", | |
"background-color-2":"#4aad00", | |
"scales":"scale-x,scale-y-2", | |
"alpha":0.8 | |
}, | |
{ | |
"tooltip-text":"Ad: BaptistHealth-BCVI:CC::728x90:<br/>%v client_nondefault_impressions", | |
"marker":{ | |
"border-color":"#2394d4", | |
"background-color":"#2394d4" | |
}, | |
"background-color":"#2394d4", | |
"text":"Ad: BaptistHealth-BCVI:CC::728x90:", | |
"line-color":"#2394d4", | |
"values":[45599.0,13787.0,12080.0,9271.0,13406.0,13543.0,13470.0,13475.0,12977.0,13397.0,13494.0,19477.0,14918.0,21778.0,10805.0,11366.0,13187.0,14057.0,19663.0,12020.0,7776.0,7867.0,7755.0,7793.0,7811.0,7684.0,7766.0,7626.0], | |
"type":"area", | |
"stacked":"true", | |
"scales":"scale-x,scale-y" | |
}, | |
{ | |
"tooltip-text":"Ad: BaptistHealth-BCVI:CC::728x90:<br/>%v client_nondefault_clicks", | |
"marker":{ | |
"border-color":"#93c100", | |
"background-color":"#93c100" | |
}, | |
"background-color":"#93c100", | |
"text":"Ad: BaptistHealth-BCVI:CC::728x90:", | |
"line-color":"#93c100", | |
"values":[27.0,24.0,22.0,8.0,6.0,14.0,15.0,11.0,14.0,13.0,8.0,11.0,5.0,23.0,12.0,4.0,7.0,14.0,17.0,7.0,3.0,9.0,6.0,4.0,5.0,6.0,1.0,7.0], | |
"type":"bar", | |
"stacked":"true", | |
"background-color-2":"#93c100", | |
"scales":"scale-x,scale-y-2", | |
"alpha":0.8 | |
}, | |
{ | |
"tooltip-text":"Ad: BaptistHealth-SMHC:CC:Miami:160x600:<br/>%v client_nondefault_impressions", | |
"marker":{ | |
"border-color":"#35ded8", | |
"background-color":"#35ded8" | |
}, | |
"background-color":"#35ded8", | |
"text":"Ad: BaptistHealth-SMHC:CC:Miami:160x600:", | |
"line-color":"#35ded8", | |
"values":[12686.0,8207.0,9694.0,12474.0,6278.0,6288.0,6262.0,6236.0,6348.0,6247.0,6326.0,6206.0,6336.0,6119.0,6466.0,5776.0,6536.0,4750.0,3280.0,6365.0,5010.0,5024.0,4515.0,3777.0,2857.0,4028.0,4399.0,3828.0], | |
"type":"area", | |
"stacked":"true", | |
"scales":"scale-x,scale-y" | |
}, | |
{ | |
"tooltip-text":"Ad: BaptistHealth-SMHC:CC:Miami:160x600:<br/>%v client_nondefault_clicks", | |
"marker":{ | |
"border-color":"#ddd500", | |
"background-color":"#ddd500" | |
}, | |
"background-color":"#ddd500", | |
"text":"Ad: BaptistHealth-SMHC:CC:Miami:160x600:", | |
"line-color":"#ddd500", | |
"values":[31.0,21.0,16.0,19.0,7.0,12.0,5.0,7.0,5.0,11.0,8.0,4.0,3.0,10.0,4.0,5.0,13.0,6.0,7.0,9.0,6.0,6.0,4.0,7.0,2.0,10.0,11.0,6.0], | |
"type":"bar", | |
"stacked":"true", | |
"background-color-2":"#ddd500", | |
"scales":"scale-x,scale-y-2", | |
"alpha":0.8 | |
}, | |
{ | |
"tooltip-text":"Ad: BaptistHealth-SMHC:CC:Miami:728x90:<br/>%v client_nondefault_impressions", | |
"marker":{ | |
"border-color":null, | |
"background-color":null | |
}, | |
"background-color":null, | |
"text":"Ad: BaptistHealth-SMHC:CC:Miami:728x90:", | |
"line-color":null, | |
"values":[13073.0,8297.0,9429.0,11715.0,12343.0,17839.0,13306.0,8137.0,8524.0,7957.0,10546.0,13528.0,10615.0,27751.0,7997.0,5202.0,8067.0,13429.0,8873.0,7761.0,8758.0,7448.0,4609.0,5565.0,7260.0,5480.0,7219.0,10824.0], | |
"type":"area", | |
"stacked":"true", | |
"scales":"scale-x,scale-y" | |
}, | |
{ | |
"tooltip-text":"Ad: BaptistHealth-SMHC:CC:Miami:728x90:<br/>%v client_nondefault_clicks", | |
"marker":{ | |
"border-color":null, | |
"background-color":null | |
}, | |
"background-color":null, | |
"text":"Ad: BaptistHealth-SMHC:CC:Miami:728x90:", | |
"line-color":null, | |
"values":[12.0,5.0,10.0,6.0,15.0,25.0,9.0,6.0,13.0,5.0,7.0,12.0,2.0,19.0,3.0,13.0,12.0,22.0,10.0,11.0,8.0,8.0,7.0,10.0,2.0,4.0,8.0,15.0], | |
"type":"bar", | |
"stacked":"true", | |
"background-color-2":null, | |
"scales":"scale-x,scale-y-2", | |
"alpha":0.8 | |
}, | |
{ | |
"tooltip-text":"Ad: BaptistHealth-SMHC:CC:Miami:300x250:<br/>%v client_nondefault_impressions", | |
"marker":{ | |
"border-color":null, | |
"background-color":null | |
}, | |
"background-color":null, | |
"text":"Ad: BaptistHealth-SMHC:CC:Miami:300x250:", | |
"line-color":null, | |
"values":[0,1.0,0,0.0,1.0,1.0,1.0,1.0,0,1.0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2226.0,4192.0,3994.0], | |
"type":"area", | |
"stacked":"true", | |
"scales":"scale-x,scale-y" | |
}, | |
{ | |
"tooltip-text":"Ad: BaptistHealth-SMHC:CC:Miami:300x250:<br/>%v client_nondefault_clicks", | |
"marker":{ | |
"border-color":null, | |
"background-color":null | |
}, | |
"background-color":null, | |
"text":"Ad: BaptistHealth-SMHC:CC:Miami:300x250:", | |
"line-color":null, | |
"values":[0,1.0,0,0.0,1.0,1.0,1.0,1.0,0,1.0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.0,2.0,0.0], | |
"type":"bar", | |
"stacked":"true", | |
"background-color-2":null, | |
"scales":"scale-x,scale-y-2", | |
"alpha":0.8 | |
} | |
], | |
"plot":{ | |
"animate":true, | |
"speed":0.3 | |
}, | |
"type":"mixed", | |
"scale-y-2":{ | |
"text":"Client Nondefault Clicks", | |
"line-color":"#009900", | |
"minor-guide":{ | |
"visible":false | |
}, | |
"tick":{ | |
"line-color":"#009900" | |
}, | |
"guide":{ | |
"visible":false | |
} | |
}, | |
"tooltip":{ | |
"visible":false | |
} | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"palette" : { | |
"bargraph" : [ | |
["#ffffff", "#a38a9F", "#a0b0a2", "#a1a8ff"], | |
["#ffffff", "#9a6a13", "#ea7ea0", "#faa059"], | |
["#ffffff", "#8Faa11", "#cca3a0", "#d8a979"], | |
["#ffffff", "#576a29", "#7daaab", "#b9aa7b"], | |
["#ffffff", "#474aaF", "#6666a7", "#b8a8a8"], | |
["#ffffff", "#4F3a1a", "#874caa", "#d1a07a"] | |
] | |
}, | |
"graph.backgroundColor" : "#369 #036", | |
"graph.borderRadius" : "10", | |
"graph.title.backgroundColor" : "-1 -1", | |
"graph.scale.lineColor" : "#eee", | |
"graph.scale.lineWidth" : "1", | |
"graph.scale.fontColor" : "#ccc", | |
"graph.scale.item.fontColor" : "#ccc", | |
"graph.scale-x.lineWidth" : "0", | |
"graph.scale-x.tick.lineWidth" : "1", | |
"graph.scale-x.tick.lineColor" : "#eee", | |
"graph.scale-y.lineWidth" : "0", | |
"graph.scale-y.lineColor" : "#0000cc", | |
"graph.scale-y.minorGuide.visible" : true, | |
"graph.scale-y.guide.visible" : true, | |
"graph.scale-y.tick.lineWidth" : "1", | |
"graph.scale-y.tick.lineColor" : "#0000cc", | |
"graph.tooltip.margin" : "10", | |
"graph.tooltip.backgroundColor" : "#5F5F5F #fff", | |
"graph.tooltip.alpha" : "1", | |
"graph.tooltip.borderRadius" : "1", | |
"graph.tooltip.fontColor" : "#000", | |
"graph.tooltip.bold" : "false", | |
"graph.legend.backgroundColor" : "#5F5F5F #101010", | |
"graph.legend.borderRadius" : "15", | |
"graph.legend.borderColor" : "#ccc", | |
"graph.legend.item.fontColor" : "#eee", | |
"graph.legend.item.borderColor" : "#ccc", | |
"graph.plotset.plot.tooltipText" : "%t %v", | |
"graph.plotset.plot.animate" : true, | |
"graph.plotset.plot.speed" : 0.3, | |
"guide.plotLabel.padding" : 3, | |
"plotarea.position" : "0% 0%", | |
"plotarea.marginTop" : 30, | |
"plotarea.marginRight" : 60, | |
"plotarea.marginLeft" : 60, | |
"plotarea.marginBottom" : 60 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($) { | |
var adv_daily_chart = { | |
id: 'adv_daily_chart', | |
output: 'canvas', | |
defaultsurl: '/charts/default.json', | |
dataurl: '/delivery_reports/demo/adv_daily.json' | |
} | |
zingchart.render(adv_daily_chart) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment