is vAxis: {slantedText: true} possible for Bar Chart [Google Charts]? -
I am able to create Column chart: Bar chart: < P> (Ignore data, this is just an example) As shown in the Depending on your frustration, you get your code to get a similar rotation for your VAxis label () Hopefully someone tells an easy way to get it. hAxis: {slantedText: true} for column chart But is it applicable to vAxis for bar charts?
vAxis.slantedText: settings: true will not be enough, I'm not sure why, and my (limited) knowledge I can achieve it Do not know in any easy way.
drawChart function:
// rotate vAxis label Var array = $ ('g'); (Var i = 0; i & lt; array.label; i ++) for {var logicalname = array [i] .logicalname; Var text = $ (array [i]. Child [0]); If (logical name! = Null & logical name.exx ("vAxis") == 0 & amp; amp; amp; and logic.index ("label")> {text.attr ("conversion "," Rotate (- 30 "+ $ (text [0]). At ('x') +" "+ $ (text [0]). Atter ('Y') +");); }}
Comments
Post a Comment