tonycoupland
tonycoupland

Reputation: 4247

AMCharts category title position

I have an AMChart which I've added a category title to but I can't get it to display properly and no matter what parameters I tweak, I can't get it to show at the right distance from the bottom of the chart area.

Here is a minimal JSFiddle showing the problem, can anyone make the category title render properly? http://jsfiddle.net/MW4BU/

Upvotes: 0

Views: 3906

Answers (2)

zeroin
zeroin

Reputation: 6025

This can be solved by removing   from your div

Upvotes: 1

diasks2
diasks2

Reputation: 2142

Have you tried changing the chart margins manually? I haven't tested this yet, but it might solve your issue:

Example code:

  // autoMargins should be set to false in order chart to use custom margin values 
    chart.autoMargins = false;
    chart.marginTop = 60;
    chart.marginBottom = 60;
    chart.marginLeft = 30;
    chart.marginRight = 30;

Upvotes: 1

Related Questions