How to manually add marker in swift charts at fixed point

允我心安 提交于 2020-07-04 04:24:46

问题


I am using https://github.com/danielgindi/Charts

I am trying to add marker manually on launch of Scatter graph.

I am using chartView.highlightValue(x: 7, y: 9, dataSetIndex: 1, callDelegate: false) but gives different points on graph based on different type of data. What is relation of dataSetIndex here ? What i am looking for is to stick the marker on x: 7, y: 9.

Please suggest how can i achieve it?

来源:https://stackoverflow.com/questions/62343054/how-to-manually-add-marker-in-swift-charts-at-fixed-point

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!