source: code/Website/dot-net-library/written-by-xiao-yifang/OpenFlashChart/ChartElement.cs@ 7849

Last change on this file since 7849 was 7849, checked in by dennisw, 15 years ago
File size: 848 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using JsonFx.Json;
5
6
7namespace OpenFlashChart
8{
9 public class ChartElement
10 {
11 private string text;
12 private string style;
13 [JsonProperty("text")]
14 public virtual string Text
15 {
16 set { this.text = value; }
17 get { return this.text; }
18 }
19 [JsonProperty("style")]
20 public string Style
21 {
22 set { style = value; }
23 get
24 {
25 if (style == null)
26 style = "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}";
27 return this.style;
28 }
29 //"{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}";
30
31 }
32 }
33}
Note: See TracBrowser for help on using the repository browser.