how to invert Axis? #1534
Answered
by
igiona
ikikaidesu
asked this question in
Q&A
how to invert Axis?
#1534
-
Hi, i wanna to invert my axis(from up 0 to down 100), i read documentation and fount this(https://livecharts.dev/docs/Eto/2.0.0-rc2/CartesianChart.Axes%20properties#inverted-property), but when i try to write it in axis setting the error appears. Can someone pls tell me what i do wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
igiona
Jul 2, 2024
Replies: 1 comment
-
I was able to to do so in the view-model, where I create the data series: Viewmodel ...
XAxes = [
new Axis {
Labels = xAxisLabels
}
];
YAxes = [
new Axis {
Labels = yAxisLabels,
IsInverted = true,
MinStep = 1
}
]; View <lvc:CartesianChart
Height="600"
Width="1200"
Series="{Binding MySeries}"
XAxes="{Binding XAxes}"
YAxes="{Binding YAxes}"> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ikikaidesu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to to do so in the view-model, where I create the data series:
Viewmodel
View