private static void InitDefaultContent(ref StringBuilder sb, Tooltip tooltip, Serie serie, int index, BaseChart chart, DataZoom dataZoom = null, bool isCartesian = false, Radar radar = null) { switch (serie.type) { case SerieType.Line: case SerieType.Bar: case SerieType.Candlestick: InitCoordinateTooltip(ref sb, tooltip, serie, index, chart.theme, isCartesian, dataZoom); break; case SerieType.Scatter: case SerieType.EffectScatter: InitScatterTooltip(ref sb, tooltip, serie, index, chart.theme); break; case SerieType.Radar: InitRadarTooltip(ref sb, tooltip, serie, radar, chart.theme); break; case SerieType.Pie: InitPieTooltip(ref sb, tooltip, serie, index, chart.theme); break; case SerieType.Ring: InitRingTooltip(ref sb, tooltip, serie, index, chart.theme); break; case SerieType.Heatmap: break; case SerieType.Gauge: InitGaugeTooltip(ref sb, tooltip, serie, index, chart.theme); break; case SerieType.Gantt: InitGanttTooltip(ref sb, tooltip, serie, index, chart.theme); break; case SerieType.Custom: chart.InitCustomSerieTooltip(ref sb, serie, index); break; } }