is vAxis: {slantedText: true} possible for Bar Chart [Google Charts]? -


I am able to create hAxis: {slantedText: true} for column chart But is it applicable to vAxis for bar charts?

Column chart: column chart with skew text on Haxis Bar chart: bar chart with default text angle on VAxis < P> (Ignore data, this is just an example)

As shown in the 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.

Depending on your frustration, you get your code to get a similar rotation for your VAxis label () 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') +");); }}   

Hopefully someone tells an easy way to get it.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -