@@ -182,22 +182,24 @@ public static Chart[] RightToLeftTest()
182182 Label = "שבוע 3" ,
183183 ValueLabel = "100" ,
184184 Color = SKColor . Parse ( "#90D585" ) ,
185- } ,
185+ }
186186 } ;
187187
188188 return new Chart [ ]
189189 {
190190 new BarChart
191191 {
192192 Entries = entries ,
193- LabelTextSize = 42 ,
193+ LabelTextSize = 60 ,
194+ LabelColor = SKColors . Red ,
194195 LabelOrientation = Orientation . Horizontal ,
195196 TextDirection = TextDirection . RTL
196197 } ,
197198 new PointChart
198199 {
199200 Entries = entries ,
200- LabelTextSize = 42 ,
201+ LabelTextSize = 60 ,
202+ LabelColor = SKColors . Red ,
201203 LabelOrientation = Orientation . Horizontal ,
202204 TextDirection = TextDirection . RTL
203205 } ,
@@ -206,29 +208,30 @@ public static Chart[] RightToLeftTest()
206208 Entries = entries ,
207209 LineMode = LineMode . Straight ,
208210 LineSize = 8 ,
209- LabelTextSize = 42 ,
211+ LabelTextSize = 60 ,
212+ LabelColor = SKColors . Red ,
210213 PointMode = PointMode . Square ,
211214 PointSize = 18 ,
212215 TextDirection = TextDirection . RTL
213216 } ,
214217 new DonutChart
215218 {
216219 Entries = entries ,
217- LabelTextSize = 42 ,
220+ LabelTextSize = 60 ,
218221 GraphPosition = GraphPosition . Center ,
219222 LabelMode = LabelMode . RightOnly ,
220223 TextDirection = TextDirection . RTL
221224 } ,
222225 new RadialGaugeChart
223226 {
224227 Entries = entries ,
225- LabelTextSize = 42 ,
228+ LabelTextSize = 60 ,
226229 TextDirection = TextDirection . RTL
227230 } ,
228231 new RadarChart
229232 {
230233 Entries = entries ,
231- LabelTextSize = 42 ,
234+ LabelTextSize = 60 ,
232235 TextDirection = TextDirection . RTL
233236 }
234237 } ;
@@ -240,32 +243,68 @@ public static Chart[] CreateQuickstart()
240243 {
241244 new ChartEntry ( 200 )
242245 {
243- Label = "January " ,
246+ Label = "Week 1 " ,
244247 ValueLabel = "200" ,
245248 Color = SKColor . Parse ( "#266489" ) ,
246249 } ,
247250 new ChartEntry ( 400 )
248251 {
249- Label = "February " ,
252+ Label = "Week 2 " ,
250253 ValueLabel = "400" ,
251254 Color = SKColor . Parse ( "#68B9C0" ) ,
252255 } ,
253256 new ChartEntry ( 100 )
254257 {
255- Label = "March " ,
258+ Label = "Week 3 " ,
256259 ValueLabel = "100" ,
257260 Color = SKColor . Parse ( "#90D585" ) ,
258261 } ,
262+ new ChartEntry ( 600 )
263+ {
264+ Label = "Week 4" ,
265+ ValueLabel = "600" ,
266+ Color = SKColor . Parse ( "#32a852" ) ,
267+ }
259268 } ;
260269
261270 return new Chart [ ]
262271 {
263- new BarChart ( ) { Entries = entries , LabelTextSize = 60 , LabelOrientation = Orientation . Horizontal } ,
264- new PointChart ( ) { Entries = entries , LabelTextSize = 60 , LabelOrientation = Orientation . Horizontal } ,
265- new LineChart ( ) { Entries = entries , LabelTextSize = 60 , LabelOrientation = Orientation . Horizontal } ,
266- new DonutChart ( ) { Entries = entries , LabelTextSize = 60 } ,
267- new RadialGaugeChart ( ) { Entries = entries , LabelTextSize = 60 } ,
268- new RadarChart ( ) { Entries = entries , LabelTextSize = 60 } ,
272+ new BarChart
273+ {
274+ Entries = entries ,
275+ LabelTextSize = 55 ,
276+ LabelOrientation = Orientation . Horizontal ,
277+ Margin = 10
278+ } ,
279+ new PointChart
280+ {
281+ Entries = entries ,
282+ LabelTextSize = 55 ,
283+ LabelOrientation = Orientation . Horizontal ,
284+ Margin = 10
285+ } ,
286+ new LineChart
287+ {
288+ Entries = entries ,
289+ LabelTextSize = 55 ,
290+ LabelOrientation = Orientation . Horizontal ,
291+ Margin = 10
292+ } ,
293+ new DonutChart
294+ {
295+ Entries = entries ,
296+ LabelTextSize = 60
297+ } ,
298+ new RadialGaugeChart
299+ {
300+ Entries = entries ,
301+ LabelTextSize = 60
302+ } ,
303+ new RadarChart
304+ {
305+ Entries = entries ,
306+ LabelTextSize = 60
307+ }
269308 } ;
270309 }
271310
0 commit comments