如果你正在使用danielgindi的Charts pod( 的CocoaPods / GitHub上 ):
chartView.legend.enabled = false
这将隐藏图表图例(或 图表地图 你怎么称呼它)。