css - Amcharts: how to apply transform in valueAxis svg element -


i trying apply margin in amcharts .amcharts-category-axis svg element, not works in css

<g class="amcharts-category-axis" transform="translate(0,20)" visibility="visible">...</g> 

if apply transform="translate(50,20)" fix problem, in css

.amcharts-category-axis{     transform: translate(0, 20); } 

doesn't works

you need specify unit when using css. try transform: translate(50px, 20px). note this doesn't work on ie 11 , edge. you'll have stick attributes ie/edge or, preferably, setting own margins using chart's margin properties.

demo using translate(59px, 0px)


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -