Rev | Line | |
---|
[7849] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Text;
|
---|
| 4 | using JsonFx.Json;
|
---|
| 5 |
|
---|
| 6 |
|
---|
| 7 | namespace 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.