I am configuring Line Chart using Charts framework. I have done my research but couldn't find relevant information as to how to set the title for X and Y axes(marked by red rectangle) as shown in the attached image.
I think there should be something like this code:
let chartDataSet = BarChartDataSet(values: dataEntries, label: "Visitor count")
The "label" parameter is the title.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.