File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
blazorbootstrap/Models/Charts/ChartOptions Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -161,9 +161,11 @@ public class Scales
161161 #region Properties, Indexers
162162
163163 [ JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
164+ [ JsonPropertyOrder ( 0 ) ]
164165 public ChartAxes ? X { get ; set ; } = new ( ) ;
165166
166167 [ JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
168+ [ JsonPropertyOrder ( 1 ) ]
167169 public ChartAxes ? Y { get ; set ; } = new ( ) ;
168170
169171 #endregion
Original file line number Diff line number Diff line change 33 public class LineChartScales : Scales
44 {
55 [ JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
6+ [ JsonPropertyOrder ( 2 ) ]
67 [ JsonPropertyName ( "Y1" ) ]
78 public ChartAxes ? SecondaryY { get ; set ; } = new ( ) { Display = false , Position = "right" } ;
89 }
You can’t perform that action at this time.
0 commit comments