State timeline value into vertical

I am using a state timeline graph to visualise my values inside the graph, but unfortunately it’s overriding each other, is there any way where I can switch the value into vertical inside the graph?

Also I am using a discrete graph in which I am unable to map the colors for the values.

question:
is it possible to change the text alignment to vertical?