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

Last change on this file since 7849 was 7849, checked in by dennisw, 15 years ago
File size: 2.5 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using JsonFx.Json;
5
6namespace OpenFlashChart
7{
8 public class DotStyle
9 {
10 private string type;
11 private int? sides;
12 private double? alpha;
13 private bool? isHollow;
14 private string background_colour;
15 private double ? background_alpha;
16 private int? width;
17 private string tip;
18 private string colour;
19 private int? dotsize;
20 private string onclick;
21 private Animation onshow = new Animation();
22 [JsonProperty("on-show")]
23 public Animation OnShowAnimation
24 {
25 get { return onshow; }
26 set { onshow = value; }
27 }
28 [JsonProperty("type")]
29 public String Type
30 {
31 get{ return type;}
32 set { type = value; }
33 }
34 [JsonProperty("sides")]
35 public int? Sides
36 {
37 get { return sides; }
38 set { sides = value; }
39 }
40 [JsonProperty("alpha")]
41 public double? Alpha
42 {
43 get { return alpha; }
44 set { alpha = value; }
45 }
46 [JsonProperty("hollow")]
47 public bool? IsHollow
48 {
49 get { return isHollow; }
50 set { isHollow = value; }
51 }
52 [JsonProperty("background-colour")]
53 public string BackgroundColour
54 {
55 get { return background_colour; }
56 set { background_colour = value; }
57 }
58 [JsonProperty("background-alpha")]
59 public double? BackgroundAlpha
60 {
61 get { return background_alpha; }
62 set { background_alpha = value; }
63 }
64 [JsonProperty("width")]
65 public int? Width
66 {
67 get { return width; }
68 set { width = value; }
69 }
70 [JsonProperty("tip")]
71 public string Tip
72 {
73 get { return tip; }
74 set { tip = value; }
75 }
76 [JsonProperty("colour")]
77 public string Colour
78 {
79 get { return colour; }
80 set { colour = value; }
81 }
82 [JsonProperty("dot-size")]
83 public int? DotSize
84 {
85 get { return dotsize; }
86 set { dotsize = value; }
87 }
88 [JsonProperty("on-click")]
89 public string OnClick
90 {
91 get { return onclick; }
92 set { onclick = value; }
93 }
94 }
95}
Note: See TracBrowser for help on using the repository browser.