Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0 line is not drawing #483

Open
Shafran123 opened this issue May 14, 2024 · 0 comments
Open

0 line is not drawing #483

Shafran123 opened this issue May 14, 2024 · 0 comments

Comments

@Shafran123
Copy link

Shafran123 commented May 14, 2024

there is a issue with a 0 line in line start its properly drawn.

below is the screen shot and configs i have used.

let marker = AAMarker()
        marker.lineColor(AAColor.black)
        marker.fillColor("#FFFFFF")
        marker.lineWidth(2)
        marker.radius(3)

return AAChartModel()
    .chartType(.line)
    .legendEnabled(false)
    .tooltipEnabled(true)
    .animationType(.easeOutCubic)
    .dataLabelsEnabled(false)
    //.markerSymbolStyle(.normal)
    //.markerRadius(2)
    .xAxisVisible(true)
    .yAxisLabelsStyle(AAStyle(color: AAColor.black, fontSize: 10, weight: .regular))
    .xAxisLabelsStyle(AAStyle(color: AAColor.black, fontSize: 10, weight: .regular))
    .yAxisMin(min)
    .yAxisMax(max)
    .series([
        AASeriesElement()
            .data(data ?? [])
        .negativeColor(AAColor.red)
        .color(AAColor.green)
        .marker(marker)
    ])
}

Screenshot 2024-05-14 at 12 24 03 PM

@Shafran123 Shafran123 changed the title 0 line is drawing 0 line is not drawing May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant