コード例 #1
0
 private void Initialize()
 {
     Orientation = ChartSeriesOrientation.Horizontal;
     Border      = new ChartElementBorder();
     Tooltip     = new ChartTooltip();
     Target      = new ChartBulletTarget();
 }
コード例 #2
0
 public Chart(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
     : base(viewContext, initializer)
 {
     UrlGenerator             = urlGenerator;
     Title                    = new ChartTitle();
     ChartArea                = new ChartArea();
     PlotArea                 = new PlotArea();
     Legend                   = new ChartLegend();
     Series                   = new List <IChartSeries>();
     Panes                    = new List <ChartPane>();
     CategoryAxis             = new ChartCategoryAxis <T>(this);
     ValueAxes                = new List <IChartValueAxis>();
     XAxes                    = new List <IChartValueAxis>();
     YAxes                    = new List <IChartValueAxis>();
     SeriesDefaults           = new ChartSeriesDefaults <T>();
     AxisDefaults             = new ChartAxisDefaults <T>(this);
     Tooltip                  = new ChartTooltip();
     Transitions              = true;
     DataSource               = new DataSource();
     DataSource.Schema.Data   = "";
     DataSource.Schema.Total  = "";
     DataSource.Schema.Errors = "";
     DataSource.ModelType(typeof(T));
 }
コード例 #3
0
 public ChartTooltipSerializer(ChartTooltip chartTooltip)
 {
     this.chartTooltip = chartTooltip;
 }
コード例 #4
0
 public ChartTooltipSerializer(ChartTooltip chartTooltip)
 {
     this.chartTooltip = chartTooltip;
 }
コード例 #5
0
ファイル: ChartSeriesBase.cs プロジェクト: akhuang/Zing
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartSeriesBase{T}" /> class.
 /// </summary>
 protected ChartSeriesBase()
 {
     Tooltip   = new ChartTooltip();
     Highlight = new ChartSeriesHighlight();
     Notes     = new ChartNote();
 }