Skip to content

I want to create background color with respect to max arc of rose chart #8

Description

@Gopaldangi

How its possible to create same length of background color fill according to max arc value of rose chart,

i have using this code,

             final Point DEFAULT_POSITION2 = new Point(0, 0);
    Point position2 = DEFAULT_POSITION2;

             Paint paint = new Paint();
    paint.setStyle(Style.FILL);
    paint.setStrokeWidth(borderWidth);
         paint.setColor(backGroundColor);
//  canvas.drawCircle(246f, 437f, 222, paint); //create static circle with static value


    canvas.drawCircle(position2.x, position2.y, radiusLength,paint); 

In this what should i put the dynamic radius of rose chart max arc to fill background color on that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions