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 BarSketch:BarBase
|
---|
9 | {
|
---|
10 | private string outlinecolour;
|
---|
11 | private int? offset;
|
---|
12 | public BarSketch(string colour,string outlinecolor,int? offset)
|
---|
13 | {
|
---|
14 | this.ChartType = "bar_sketch";
|
---|
15 | this.Colour = colour;
|
---|
16 | this.outlinecolour = outlinecolor;
|
---|
17 | this.offset = offset;
|
---|
18 | }
|
---|
19 | [JsonProperty("offset")]
|
---|
20 | public int? Offset
|
---|
21 | {
|
---|
22 | get { return offset.Value; }
|
---|
23 | set { this.offset = value; }
|
---|
24 | }
|
---|
25 | [JsonProperty("outline-colour")]
|
---|
26 | public string OutlineColour
|
---|
27 | {
|
---|
28 | get { return outlinecolour; }
|
---|
29 | set { this.outlinecolour = value; }
|
---|
30 | }
|
---|
31 |
|
---|
32 | }
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.