Skip to main content

Easy jMaki Charting question

2 replies [Last post]
el_perezoso
Offline
Joined: 2007-03-17
Points: 0

Hi,

can somebody tell me how i can resize my jMaki chart?
Code:

And is it possible to resize the bars? Currently my bars are to big. I only want a bar that has a width of 1 cm.

Thank for help.
Greetz Chris

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
el_perezoso
Offline
Joined: 2007-03-17
Points: 0

yes this solution works.
thanks

but now i have another problem. Is it Possible to reload only one bar of my chart? So when one of the datas changes the value then one of the bars must change the size too.
Or can i only reload the whole chart?

Has anybody an example code for my problem?

anilam
Offline
Joined: 2005-03-29
Points: 0

Hi,
You can control the size of your chart by putting inside a <div>
eg
<div> class="content" style="height:400px;width:500px">
...
/>
</div>
will give you a chart of 500x400

Currently, there is no support to limit the width of the bars. It is automatically adjusted. I am also waiting for this feature.
I believe i have filed an enhancement issue for this, but query issue doesn't show up any issue at all.

hope this help.
Anissa