Source/NFX.WinForms/Controls/ChartKit/Temporal/TimeSeriesChart.cs
/// <summary>
/// Builds default style for data cells in non-selected rows
/// </summary>
Builds default style for data cells in non-selected rows
Builds default style for data cells in non - selected rows
protected virtual void BuildDefaultStyle()
    {
      SplitterStyle.BGColor          = Color.Silver;
      GridLineStyle                  = new LineStyle() {
                                          Color = Color.Silver, Width = 1,
                                          DashStyle = DashStyle.Dot
                                       };
      GridLineTimeGapStyle           = new LineStyle() {
                                          Color = Color.FromArgb(100, 100, 70), Width = 1,
                                          DashStyle = DashStyle.Solid
      };
      GridLineDayChangeStyle         = new LineStyle() {
                                          Color = Color.DarkGoldenrod, Width = 1,
                                          DashStyle = DashStyle.Dot
                                       };
      VCursorLineStyle               = new LineStyle() {
                                          Color = Color.Black, Width = 1,
                                          DashStyle = DashStyle.Dot
                                       };
      RulerStyle.HAlignment          = HAlignment.Center;
      RulerStyle.BorderLeft          = new LineStyle() {Color = Color.White};
      RulerStyle.BorderTop           = new LineStyle() {Color = Color.White};
      RulerStyle.BorderBottom        = new LineStyle() {Color = Color.FromArgb(100, 100, 100)};
      RulerStyle.BGKind              = BGKind.HorizontalGradient;
      RulerStyle.BGColor             = Color.White;
      RulerStyle.BGColor2            = Color.Silver;
      RulerStyle.ForeColor           = Color.BlueViolet;
      RulerStyle.Font                = new Font("Verdana", 6f);
      PlotStyle.BorderTop            = new LineStyle() {Color = Color.Transparent};
      PlotStyle.BorderBottom         = new LineStyle() {Color = Color.Silver};
      PlotStyle.BGKind               = BGKind.BackwardDiagonalGradient; 
      PlotStyle.BGColor              = Color.FromArgb(199, 199, 255);
      PlotStyle.BGColor2             = Color.FromArgb(250, 250, 255);
      TimeScaleStyle.ForeColor       = Color.White;
      TimeScaleStyle.BGColor         = Color.Black;
      TimeScaleStyle.Font            = new Font("Verdana", 6f);
      TimeScaleSelectStyle.ForeColor = Color.White;
      TimeScaleSelectStyle.BGColor   = Color.DarkOrange;
      TimeScaleSelectStyle.Font      = new Font("Verdana", 6f);
      LastPriceMarkerStyle.ForeColor = Color.Wheat;
      TimeScaleStyle.BGColor         = Color.Green;
      TimeScaleStyle.Font            = new Font("Verdana", 6f);
    }
protected virtual void BuildDefaultStyle ( ) { SplitterStyle . BGColor = Color . Silver ; GridLineStyle = new LineStyle ( ) { Color = Color . Silver , Width = 1 , DashStyle = DashStyle . Dot } ; GridLineTimeGapStyle = new LineStyle ( ) { Color = Color . FromArgb ( 100 , 100 , 70 ) , Width = 1 , DashStyle = DashStyle . Solid } ; GridLineDayChangeStyle = new LineStyle ( ) { Color = Color . DarkGoldenrod , Width = 1 , DashStyle = DashStyle . Dot } ; VCursorLineStyle = new LineStyle ( ) { Color = Color . Black , Width = 1 , DashStyle = DashStyle . Dot } ; RulerStyle . HAlignment = HAlignment . Center ; RulerStyle . BorderLeft = new LineStyle ( ) { Color = Color . White } ; RulerStyle . BorderTop = new LineStyle ( ) { Color = Color . White } ; RulerStyle . BorderBottom = new LineStyle ( ) { Color = Color . FromArgb ( 100 , 100 , 100 ) } ; RulerStyle . BGKind = BGKind . HorizontalGradient ; RulerStyle . BGColor = Color . White ; RulerStyle . BGColor2 = Color . Silver ; RulerStyle . ForeColor = Color . BlueViolet ; RulerStyle . Font = new Font ( " " , 6f ) ; PlotStyle . BorderTop = new LineStyle ( ) { Color = Color . Transparent } ; PlotStyle . BorderBottom = new LineStyle ( ) { Color = Color . Silver } ; PlotStyle . BGKind = BGKind . BackwardDiagonalGradient ; PlotStyle . BGColor = Color . FromArgb ( 199 , 199 , 255 ) ; PlotStyle . BGColor2 = Color . FromArgb ( 250 , 250 , 255 ) ; TimeScaleStyle . ForeColor = Color . White ; TimeScaleStyle . BGColor = Color . Black ; TimeScaleStyle . Font = new Font ( " " , 6f ) ; TimeScaleSelectStyle . ForeColor = Color . White ; TimeScaleSelectStyle . BGColor = Color . DarkOrange ; TimeScaleSelectStyle . Font = new Font ( " " , 6f ) ; LastPriceMarkerStyle . ForeColor = Color . Wheat ; TimeScaleStyle . BGColor = Color . Green ; TimeScaleStyle . Font = new Font ( " " , 6f ) ; }
Builds default style for data cells in non-selected rows
Builds default style for data cells in non - selected rows
// Builds default style for rulers // Builds default style for data plots //  style.HAlignment = HAlignment.Center; //.VerticalGradient; // Builds default style for timeline and selected timeline point