Replies: 1 comment 1 reply
-
I have studied the source code of GeometryVisual class and noticed that it sets vertical and horizontal alignment for text Align.Start. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using livecharts2 in wpf. I made a gantt chart using 2 stackedrowseries (one with transparent rows to indent the edge, the other with the values themselves), and now I want to make a header for it like this
The problem is that I need different length blocks for months and years, so I can't just use ColumnSeries.
I tried to do it with VisualElement, but I ran into the fact that there is no rectangle with center aligned text inside. LabelVisual doesn't have a stroke, so it's unclear where one month ends and another begins.
I need the header to support zooming and scrolling. To keep it visible I use a separate YAxis for it.
Beta Was this translation helpful? Give feedback.
All reactions