IEnumerator SameBarAndPercentStack() { chart.title.subText = "百分比堆叠同柱"; serie.barType = serie2.barType = BarType.Normal; serie.stack = "samename"; serie2.stack = "samename"; serie.barPercentStack = true; serie.label.show = true; serie.label.position = SerieLabel.Position.Center; serie.label.border = false; serie.label.color = Color.white; serie.label.formatter = "{d:f0}%"; serie2.label.show = true; serie2.label.position = SerieLabel.Position.Center; serie2.label.border = false; serie2.label.color = Color.white; serie2.label.formatter = "{d:f0}%"; chart.RefreshLabel(); chart.RefreshChart(); yield return(new WaitForSeconds(1)); }