Back to project page line-chart-view.
The source code is released under:
MIT License
If you think the Android project line-chart-view listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.hogel.android.linechartviewdemo; //from ww w . ja va 2s . c om import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); View lineChartButton = findViewById(R.id.line_chart_button); lineChartButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startActivity(new Intent(MainActivity.this, LineChartActivity.class)); } }); View dateLineChartButton = findViewById(R.id.date_line_chart_button); dateLineChartButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startActivity(new Intent(MainActivity.this, DateLineChartActivity.class)); } }); } }