This is a migrated thread and some comments may be shown as answers.

Chart Orientation

4 Answers 21 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Shan
Top achievements
Rank 1
Shan asked on 17 Aug 2017, 05:45 AM

Hi,

Is it possible to do chart orientation from horizontal to vertical

All examples that are provided are horizontal, from left to right or right to left.

Is there a way to display the chart in vertical from top to bottom,

Please see the attachment

 

 

4 Answers, 1 is accepted

Sort by
0
Shan
Top achievements
Rank 1
answered on 17 Aug 2017, 12:36 PM

Hi 

Any update on this ?

0
Shan
Top achievements
Rank 1
answered on 17 Aug 2017, 03:52 PM

Hi,

If there is no direct way of doing it, is there an indirect way of doing this ?

Thanks in advance

0
Accepted
EZ
Top achievements
Rank 2
answered on 17 Aug 2017, 08:43 PM

You could use CSS to rotate the div:

div#chart {
  transform-origin: 30% 70%;
  -ms-transform: rotate(90deg); /* IE 9 */
  -webkit-transform: rotate(90deg); /* Safari */
  transform: rotate(90deg); /* Standard syntax */
}

 

DEMO

0
Shan
Top achievements
Rank 1
answered on 17 Aug 2017, 09:12 PM

Hi,

Thank you very much for your help and sample code. it really helps.

 

Tags
Charts
Asked by
Shan
Top achievements
Rank 1
Answers by
Shan
Top achievements
Rank 1
EZ
Top achievements
Rank 2
Share this question
or