You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a chart has only few Data Entries, the chart items are moving to extreme ends rather than starting in the middle. Is this the default chart behaviour? Or is there a way to achieve this?
While adding the entries, I tried giving an offset to x like below :
for(index, object) in response.enumerated() {
let some = BarChartDataEntry(x: Double(index) + 1.0, yValues: [Double(10), Double(10), Double(10)])
dataEntry.append(some)
}
Still the chart is not moving from the extreme ends? Also set these 2 properties :
If a chart has only few
Data Entries
, the chart items are moving to extreme ends rather than starting in the middle. Is this the default chart behaviour? Or is there a way to achieve this?While adding the entries, I tried giving an offset to x like below :
Still the chart is not moving from the extreme ends? Also set these 2 properties :
@liuxuan30 @danielgindi @Huang-Libo Any leads?
The text was updated successfully, but these errors were encountered: