Related questions
How to add Strings on X Axis in iOS-charts?
With the new release i had some troubles to create some graphs the previous code was:
func setChart(dataPoints: [String], values: [Double]) {
var dataEntries: [BarChartDataEntry] = []
for i in 0..<dataPoints.count {
let dataEntry = BarChartDataEntry(value: values[i], xIndex: i)
dataEntries.…
How to set x-axis labels with ios charts
I've recently started using the ios charts library and am having trouble finding information on how to manipulate the x-axis with the swift3 update.
What I want to do is label the x-axis with time values, e.g. 2:03:00, 2:03:01, 2:03:02, etc. In …
How to make a grouped BarChart with ios-charts?
I am using ios-charts library.
I would like to group my inverter values so that each year is one group. Unfortunately, the number of monthly values per year may vary.
My data json looks like this:
{"monthlyData":[{"ERTRAG":"30.2989999055862","MONAT":"2","JAHR":"2016"},{"…