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
i have a bubble chart and some bubbles are very large.i want to set the bubble chart size same for all. i have tried to use
var dataEntries1 : [BubbleChartDataEntry] = BubbleChartDataEntry
for i in 0..<dataPoints.count {
if values1[i] != 0
{
let dataEntry = BubbleChartDataEntry(xIndex: i, value: values1[i], size: 5.0)
dataEntries1.append(dataEntry)
even i have tried to set all the bubbles value to its size 30. The bubble sizes are varying its sizes. I want all of them to be a same size.Can i do this.??
The text was updated successfully, but these errors were encountered:
for index in 0..<4
{
entries.removeAll()
let x = datas[index][0]
let y = datas[index][1]
entries.append(BubbleChartDataEntry(x: x, y: y, size: CGFloat(15 )))
// MARK: BubbleChartDataSet
let set = BubbleChartDataSet(values: entries, label: label[index])
set.setColor(colors[index])
set.valueTextColor = NSUIColor.black
set.valueFont = NSUIFont.systemFont(ofSize: CGFloat(10.0))
set.drawValuesEnabled = true
set.normalizeSizeEnabled = false
set.formSize = 30.0
data.addDataSet(set)
}
i have a bubble chart and some bubbles are very large.i want to set the bubble chart size same for all. i have tried to use
var dataEntries1 : [BubbleChartDataEntry] = BubbleChartDataEntry
for i in 0..<dataPoints.count {
if values1[i] != 0
{
let dataEntry = BubbleChartDataEntry(xIndex: i, value: values1[i], size: 5.0)
dataEntries1.append(dataEntry)
even i have tried to set all the bubbles value to its size 30. The bubble sizes are varying its sizes. I want all of them to be a same size.Can i do this.??
The text was updated successfully, but these errors were encountered: