user2301515
user2301515

Reputation: 5117

Echarts, rotating titles

Does somebody know how to rotate axis titles? An example is here: https://echarts.apache.org/examples/en/editor.html?c=line-stack but about rotating legends nothing cannot found. enter image description here

Upvotes: 0

Views: 163

Answers (1)

Sergey Fedorov
Sergey Fedorov

Reputation: 4450

You need nameRotate.

yAxis: {
  //...,
  name: 'You Title',
  nameRotate: 90,
}

Upvotes: 1

Related Questions