Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Text;
|
---|
4 | using JsonFx.Json;
|
---|
5 |
|
---|
6 | namespace OpenFlashChart
|
---|
7 | {
|
---|
8 | public class LineDotValue
|
---|
9 | {
|
---|
10 | private double? val;
|
---|
11 | private string tip;
|
---|
12 | private string color;
|
---|
13 | private int? sides;
|
---|
14 | private int? rotation;
|
---|
15 | private string type;
|
---|
16 | private bool? isHollow;
|
---|
17 | private int? dotsize;
|
---|
18 | public LineDotValue()
|
---|
19 | { }
|
---|
20 | public LineDotValue(double val)
|
---|
21 | {
|
---|
22 | this.val = val;
|
---|
23 | }
|
---|
24 | public LineDotValue(double val, string tip, string color)
|
---|
25 | {
|
---|
26 | this.val = val;
|
---|
27 | this.tip = tip;
|
---|
28 | this.color = color;
|
---|
29 | }
|
---|
30 | public LineDotValue(double val, string color)
|
---|
31 | {
|
---|
32 | this.val = val;
|
---|
33 | this.color = color;
|
---|
34 | }
|
---|
35 | [JsonProperty("value")]
|
---|
36 | public double? Value
|
---|
37 | {
|
---|
38 | get { return val; }
|
---|
39 | set { val = value; }
|
---|
40 | }
|
---|
41 | [JsonProperty("tip")]
|
---|
42 | public string Tip
|
---|
43 | {
|
---|
44 | get { return tip; }
|
---|
45 | set { tip = value; }
|
---|
46 | }
|
---|
47 | [JsonProperty("colour")]
|
---|
48 | public string Color
|
---|
49 | {
|
---|
50 | get { return color; }
|
---|
51 | set { color = value; }
|
---|
52 | }
|
---|
53 | [JsonProperty("sides")]
|
---|
54 | public int? Sides
|
---|
55 | {
|
---|
56 | get { return sides; }
|
---|
57 | set { sides = value; }
|
---|
58 | }
|
---|
59 | [JsonProperty("rotation")]
|
---|
60 | public int? Rotation
|
---|
61 | {
|
---|
62 | get { return rotation; }
|
---|
63 | set { rotation = value; }
|
---|
64 | }
|
---|
65 | [JsonProperty("type")]
|
---|
66 | public string DotType
|
---|
67 | {
|
---|
68 | get { return type; }
|
---|
69 | set { type = value; }
|
---|
70 | }
|
---|
71 | [JsonProperty("hollow")]
|
---|
72 | public bool? IsHollow
|
---|
73 | {
|
---|
74 | get { return isHollow; }
|
---|
75 | set { isHollow = value; }
|
---|
76 | }
|
---|
77 | [JsonProperty("dot-size")]
|
---|
78 | public int? DotSize
|
---|
79 | {
|
---|
80 | get { return dotsize; }
|
---|
81 | set { dotsize = value; }
|
---|
82 | }
|
---|
83 | }
|
---|
84 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.