Giter Site home page Giter Site logo

Comments (2)

mjovanovic9999 avatar mjovanovic9999 commented on May 11, 2024 1

Also, text is behind the line. Additionaly, line is wrongly drawn when using LineType.CURVED_LINE :

Also when interacting with the chart, we've encountered two issues:

  • Popup appears behind the chart line, making it difficult to read and interact with the chart effectively.
  • When utilizing LineType.CURVED_LINE, the line rendering behaves unexpectedly, leading to incorrect visual representations in the chart.

image

Full code:

val testLineParameters: List<LineParameters> = listOf(
    LineParameters(
        label = "Earnings",
        data = listOf(100.0, 40.33, 86.232, 88.0, 90.0,60.0, 80.6, 40.33, 86.232, 88.0, 90.0),
        lineColor = Color(0xFFFF7F50),
        lineType = LineType.CURVED_LINE,
        lineShadow = true
    ),
)

LineChart(
    modifier = modifier.fillMaxSize(),
    linesParameters = testLineParameters,
    isGrid = true,
    xAxisData = listOf( "-1", "0", "1", "2", "20","2015", "26", "27", "2", "29", "2"),
    animateChart = true,
    showGridWithSpacer = true,
    yAxisStyle = TextStyle(
        fontSize = 14.sp,
        color = Color.Gray,
    ),
    xAxisStyle = TextStyle(
        fontSize = 14.sp, color = Color.Gray, fontWeight = FontWeight.W400,
    ),
    oneLineChart = false,
    gridOrientation = GridOrientation.VERTICAL,
)

from aay-chart.

AndrewAboalhana avatar AndrewAboalhana commented on May 11, 2024 1

soon in the next release, we will put all of this in our mind to improve it

from aay-chart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.