The chart I created has quite some empty space around it. Is there a way to reduce it? Also the chart works only by defining pixel values. It showed up very weird if the width is defined in "%". Even though both chart has the same width defined, one is wider than the other one. Any thoughts? thanks!
Here's what I have on the page:

Two things.
1. The space is probably due to default padding added to table cells. Add the following definition to your CSS:
table td { padding: 0; }2. Charts do not support using relative values for dimensions; you have to specify the width and height in pixels (as you've observed).
I can add that there is an
I can add that there is an optional "margins" parameter of the chart. By default it is {l: 10, t: 10, r: 10, b: 10}. This is how you can set it:
margins: {l: 40, t: 20, r: 40, b: 20}
});
Or with a widget declaration:
margins="{l: 40, t: 20, r: 40, b: 20}">
...
</div>
Chart takes into account the size of labels on all sides before calculating the plot area. If they are too different you may have visually different plot areas.