public Legend(LegendType type = LegendType.Plain) { if (Show && type.Equals(LegendType.Scroll)) { //scrollDataIndex; } }