Package-level declarations

Functions

Link copied to clipboard
fun DrawScope.drawGridLines(yBottom: Float, top: Float, xLeft: Float, paddingRight: Dp, scrollOffset: Float, verticalPointsSize: Int, xZoom: Float, xAxisScale: Float, ySteps: Int, xAxisStepSize: Dp, gridLines: GridLines)

DrawScope.drawGridLines is the extension method used to draw the grid lines on any graph

Link copied to clipboard

Returns converted single precision string from float value

Link copied to clipboard
fun getMaxElementInXAxis(xMax: Float, xStepSize: Int): Int

Returns the maximum value of X axis

Link copied to clipboard
fun getMaxElementInYAxis(yMax: Float, yStepSize: Int): Int

Returns the maximum value of Y axis

Link copied to clipboard

Returns the background rect for the highlighted text.

Link copied to clipboard

return the height of text in canvas drawn text

Link copied to clipboard

return the width of text in canvas drawn text

Link copied to clipboard

Returns the maximum and minimum points of X axis.

Link copied to clipboard

Returns the maximum and minimum points of Y axis

Link copied to clipboard
fun Offset.isDragLocked(dragOffset: Float, xOffset: Float): Boolean

Return true if the point is locked

Link copied to clipboard

Returns true or false if the object is null

Link copied to clipboard
fun Offset.isPointTapped(tapOffset: Offset, tapPadding: Float): Boolean

Returns true if the tapped point is withing the given boundries else false

Link copied to clipboard
fun Offset.isStackedBarTapped(tapOffset: Offset, barWidth: Float, barHeight: Float, tapPadding: Float): Boolean

Return true if the point is selected

Link copied to clipboard
fun Offset.isTapped(tapOffset: Offset, xOffset: Float, bottom: Float, tapPadding: Float): Boolean

Return true if the point is selected

Link copied to clipboard
fun Offset.isYAxisTapped(tapOffset: Offset, yOffset: Float, left: Float, tapPadding: Float, xAxisWidth: Float): Boolean

Return true if the point is selected

Link copied to clipboard

Round double value to 2 decimal point