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

set the end cap of last slice of chart to overlap the beginning point of first slice #10

Open
DalveerSinghDaiya opened this issue Oct 7, 2016 · 2 comments

Comments

@DalveerSinghDaiya
Copy link

DalveerSinghDaiya commented Oct 7, 2016

if this helps!!

device-2016-10-07-123328

@DalveerSinghDaiya DalveerSinghDaiya changed the title set the end slice of chart to overlap the beginning point of first slice set the end cap of last slice of chart to overlap the beginning point of first slice Oct 7, 2016
@FaisalFiyyaz
Copy link

Hi @DalveerSinghDaiya, I know its very late but did you manage to fix this problem?

@FaisalFiyyaz
Copy link

Anyone have this problem in future, I have fixed this issue.
what you need to do is set fitchart like this:
<com.txusballesteros.widgets.FitChart android:id="@+id/fitChart" style="@style/chart_style" app:backStrokeColor="#your first color first progress slice" android:layout_gravity="center" app:animationMode="overdraw" />
then increase max value of fitchart by 5, like this

fitChart = view.findViewById(R.id.fitChart); fitChart.setMinValue(0f); fitChart.setMaxValue(105f);

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

2 participants