Open nikolafamit opened 2 years ago
When i rotate labels for 90 degrees in xAxisLabelsFrom for BarChartStyle, the yAxisPOI goes under 0. On the pic yAxisPOI value is 500. Also it's moved out of screen
0
BarChart(chartData: datas) .touchOverlay(chartData: datas) .xAxisLabels(chartData: datas) .yAxisLabels(chartData: datas) .headerBox(chartData: datas) .yAxisPOI(chartData: datas, markerName: "Minimum Recommended", markerValue: Double(statTargetValueDay) ?? 0.0, labelPosition: .yAxis(specifier: "%.2f", formatter: .none), labelColour: Color.accentColor, labelBackground: .clear , lineColour: Color(red: 0.25, green: 0.75, blue: 1.0), strokeStyle: StrokeStyle(lineWidth: 1, dash: [5,10])) .id(datas.id) .frame(height: UIScreen.screenHeight/2.2,alignment: .center) .padding([.vertical,.horizontal])
When i rotate labels for 90 degrees in xAxisLabelsFrom for BarChartStyle, the yAxisPOI goes under 0. On the pic yAxisPOI value is 500. Also it's moved out of screen
0