Sorry guys to bother, I'm writing because I'm having some issue upgrading from the version 0.6.1 (de.blox:graphview).
This is an example of one Android layout:
<de.blox.graphview.GraphView
android:id="@+id/graph"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/activity_margin"
app:hasClickableChildren="true"
app:horizontalPanEnabled="false"
app:lineColor="@android:color/white"
app:lineThickness="8dp"
app:useMaxSize="true"
app:verticalPanEnabled="false"
app:zoomEnabled="false" />
or this is an activity that is actually working:
zoom.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
if (isZoom) {
graphView.zoomTo(1.0f, true);
graphView.setZoomEnabled(false);
graphView.setVerticalPanEnabled(false);
graphView.setHorizontalPanEnabled(false);
//zoom.setBackgroundResource(R.drawable.zoom_in);
isZoom = false;
} else {
graphView.zoomTo(2.0f, true);
graphView.setZoomEnabled(true);
graphView.setVerticalPanEnabled(true);
graphView.setHorizontalPanEnabled(true);
isZoom = true;
//zoom.setBackgroundResource(R.drawable.zoom_out);
}
}
});
I tried updating the library but I'm struggling with all the changes, can you guys just face me in the right direction?
Thanks for the great work!
Sorry guys to bother, I'm writing because I'm having some issue upgrading from the version 0.6.1 (de.blox:graphview).
This is an example of one Android layout:
or this is an activity that is actually working:
I tried updating the library but I'm struggling with all the changes, can you guys just face me in the right direction?
Thanks for the great work!