Rev | Line | |
---|
[7849] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Text;
|
---|
| 4 | using JsonFx.Json;
|
---|
| 5 |
|
---|
| 6 | namespace OpenFlashChart
|
---|
| 7 | {
|
---|
| 8 | public abstract class AreaBase:Chart<double >
|
---|
| 9 | {
|
---|
| 10 | private int? width;
|
---|
| 11 | private double? dotsize;
|
---|
| 12 | private double? halosize;
|
---|
| 13 | private bool loop;
|
---|
| 14 | private string fillcolour;
|
---|
| 15 | private Animation onshow = new Animation();
|
---|
| 16 | protected AreaBase()
|
---|
| 17 | {
|
---|
| 18 | this.ChartType = "area";
|
---|
| 19 | }
|
---|
| 20 | [JsonProperty("fill")]
|
---|
| 21 | public string FillColor
|
---|
| 22 | {
|
---|
| 23 | get { return fillcolour; }
|
---|
| 24 | set { fillcolour = value; }
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | [JsonProperty("width")]
|
---|
| 28 | public virtual int? Width
|
---|
| 29 | {
|
---|
| 30 | set { this.width = value; }
|
---|
| 31 | get { return this.width; }
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | [JsonProperty("dot-size")]
|
---|
| 35 | public virtual double? DotSize
|
---|
| 36 | {
|
---|
| 37 | get { return dotsize; }
|
---|
| 38 | set { dotsize = value; }
|
---|
| 39 | }
|
---|
| 40 | [JsonProperty("loop")]
|
---|
| 41 | public bool Loop
|
---|
| 42 | {
|
---|
| 43 | get { return loop; }
|
---|
| 44 | set { loop = value; }
|
---|
| 45 | }
|
---|
| 46 | [JsonProperty("halo-size")]
|
---|
| 47 | public double? HaloSize
|
---|
| 48 | {
|
---|
| 49 | get { return halosize; }
|
---|
| 50 | set { halosize = value; }
|
---|
| 51 | }
|
---|
| 52 | [JsonProperty("on-show")]
|
---|
| 53 | public Animation OnShowAnimation
|
---|
| 54 | {
|
---|
| 55 | get { return onshow; }
|
---|
| 56 | set { onshow = value; }
|
---|
| 57 | }
|
---|
| 58 | }
|
---|
| 59 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.