Rank: Newbie
Groups: Registered
Joined: 10/17/2014(UTC) Posts: 6
Thanks: 0 times Was thanked: 0 time(s) in 0 post(s)
|
Good day dear colleagues. Prompt, can not display the title bars on the left, just above? Here is my code:Code:$('header').jqChart({ title: { text: title], fillStyle: '#85b1de' }, legend: { visible: false }, border: { visible: false }, axes: [ { strokeStyle: 'transparent', visible: false, majorGridLines: { visible: false }, lineWidth: 0, location: 'bottom', majorTickMarks: { visible: false }, labels: { visible : false } }, { strokeStyle: 'black', visible: false, majorGridLines: { visible: false }, lineWidth: 0, location: 'left', majorTickMarks: { visible: false }, labels: { visible : true, fillStyle: '#85b1de', font: '16px sans-serif' } } ], animation: { duration: 0.5 }, series: [ { pointWidth: 0.5, type: 'bar', fillStyles: color, data: [ [label[0], data['a']], [label[1], data['b']], [label[2], data['c']], [label[3], data['d']] ], labels: { stringFormat: ' %s %%', valueType: 'dataValue', font: '14px sans-serif', fillStyle: 'white' } } ] }); As the image: And the last question, I need to make sure that when clicking on the the bar, it was possible to increase or decrease its value. Is that possible? If yes, how to implement it? Thank you all!
|