Joe Z
Joe Z

Reputation: 752

Moving dataLabels for a Highcharts timeline all to one side

Is there a way to force a timeline series' dataLabels all to one side or the other?

I have a vertical timeline in Highcharts with several series (shown with "alternate: false"): a timeline of execution messages

I would like to have, for instance, all of the "Sent for execution" labels on the left side. The "alternate" option moves some of them, but not all.

Upvotes: 0

Views: 142

Answers (1)

Joe Z
Joe Z

Reputation: 752

Okay, I found the answer while asking the question.

Set the "distance" option to a negative value with "alternate" as false. Here it is set to -100.

a timeline of execution messages

Upvotes: 1

Related Questions