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

Last change on this file since 7937 was 7849, checked in by dennisw, 15 years ago
File size: 863 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using JsonFx.Json;
5
6namespace 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.