You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Move X-Axis Labels to the Bottom](#move-x-axis-labels-to-the-bottom)
78
+
*[Move Value Axis to the Right](#move-value-axis-to-the-right)
75
79
76
80
77
81
### Categorical Chart - Value Axes Examples
@@ -502,6 +506,78 @@ The general approach is to set an axis crossing point that has a very large valu
502
506

503
507
504
508
509
+
### Move Value Axis to the Right
510
+
511
+
To ensure that an axis is always to the desired side of the chart, you could set its corresponding `AxisCrossingValue` to a very large value such as `int.MaxValue` or `int.MinValue`.
512
+
513
+
This approach can work for both numerical and categorical axes. The example below uses a categorical axis.
514
+
515
+
>caption Example of setting a crossing point that is very large so the value axis appears on the right hand side of the chart
516
+
517
+
````CSHTML
518
+
@* See the AxisCrossingValue parameter on the x-axis and its value - it uses int.MaxValue to push the second value axis all the way to the right *@
0 commit comments