Closed AlexejStukov closed 8 years ago
Issue was resolved in upstream
@AlexejStukov can you elaborate on what I need to fix this. I've updated django-nvd3 to django-nvd3==0.9.7 but I still get the same behaviour.
Thanks, and thank-you for writing this great app.
It's OK, I think I have worked it out.
'extra': {
'chart_attr': {'xAxis.rotateLabels': '-25'},
}
@nickongit: It was fixed in python-nvd3, but i think it's not released yet. Should be included in the next version.
Using
leads to an extra
:
in the Javascript output:If I use something without the dot, e.g.
'chart_attr':{"margin":"{top: 30, right: 100, bottom: 200, left: 60}"}'
it works perfectly fine. Also if I replace that:
the Javascript executes without an error.