Permalink
Browse files

Merge branch 'master' of https://github.com/jackquack/BitPredictor

  • Loading branch information...
2 parents 779cb30 + 200640a commit 22a58b4a2d0cc5e0f6c09c083c485a0715be82c1 @hrdwdmrbl committed Mar 23, 2013
Showing with 7,339 additions and 65 deletions.
  1. +0 −3 .gitmodules
  2. +0 −1 android/GraphView
  3. +8 −0 android/GraphView/.classpath
  4. +2 −0 android/GraphView/.gitignore
  5. +33 −0 android/GraphView/.project
  6. +17 −0 android/GraphView/AndroidManifest.xml
  7. BIN android/GraphView/GVBar.png
  8. BIN android/GraphView/GVLine.jpg
  9. +69 −0 android/GraphView/README.markdown
  10. +33 −0 android/GraphView/doc/allclasses-frame.html
  11. +33 −0 android/GraphView/doc/allclasses-noframe.html
  12. +231 −0 android/GraphView/doc/com/jjoe64/graphview/GraphView.GraphViewData.html
  13. +409 −0 android/GraphView/doc/com/jjoe64/graphview/GraphView.html
  14. +167 −0 android/GraphView/doc/com/jjoe64/graphview/class-use/GraphView.GraphViewData.html
  15. +142 −0 android/GraphView/doc/com/jjoe64/graphview/class-use/GraphView.html
  16. +34 −0 android/GraphView/doc/com/jjoe64/graphview/package-frame.html
  17. +159 −0 android/GraphView/doc/com/jjoe64/graphview/package-summary.html
  18. +150 −0 android/GraphView/doc/com/jjoe64/graphview/package-tree.html
  19. +155 −0 android/GraphView/doc/com/jjoe64/graphview/package-use.html
  20. +144 −0 android/GraphView/doc/constant-values.html
  21. +144 −0 android/GraphView/doc/deprecated-list.html
  22. +215 −0 android/GraphView/doc/help-doc.html
  23. +140 −0 android/GraphView/doc/index-files/index-1.html
  24. +144 −0 android/GraphView/doc/index-files/index-2.html
  25. +149 −0 android/GraphView/doc/index-files/index-3.html
  26. +143 −0 android/GraphView/doc/index-files/index-4.html
  27. +152 −0 android/GraphView/doc/index-files/index-5.html
  28. +36 −0 android/GraphView/doc/index.html
  29. +152 −0 android/GraphView/doc/overview-tree.html
  30. +1 −0 android/GraphView/doc/package-list
  31. BIN android/GraphView/doc/resources/inherit.gif
  32. +29 −0 android/GraphView/doc/stylesheet.css
  33. +36 −0 android/GraphView/proguard.cfg
  34. +15 −0 android/GraphView/project.properties
  35. BIN android/GraphView/res/drawable-hdpi/icon.png
  36. BIN android/GraphView/res/drawable-ldpi/icon.png
  37. BIN android/GraphView/res/drawable-mdpi/icon.png
  38. +12 −0 android/GraphView/res/layout/main.xml
  39. +5 −0 android/GraphView/res/values/strings.xml
  40. +40 −0 android/GraphView/src/com/jjoe64/graphview/BarGraphView.java
  41. +672 −0 android/GraphView/src/com/jjoe64/graphview/GraphView.java
  42. +38 −0 android/GraphView/src/com/jjoe64/graphview/GraphViewDemo.java
  43. +92 −0 android/GraphView/src/com/jjoe64/graphview/GraphViewSeries.java
  44. +50 −0 android/GraphView/src/com/jjoe64/graphview/GraphViewStyle.java
  45. +108 −0 android/GraphView/src/com/jjoe64/graphview/LineGraphView.java
  46. +7 −0 android/GraphView/src/com/jjoe64/graphview/ValueDependentColor.java
  47. +20 −0 android/GraphView/src/com/jjoe64/graphview/compatible/RealScaleGestureDetector.java
  48. +83 −0 android/GraphView/src/com/jjoe64/graphview/compatible/ScaleGestureDetector.java
  49. +1 −0 android/PredictionMarket/.settings/org.eclipse.core.resources.prefs
  50. BIN android/PredictionMarket/res/drawable-hdpi/ic_launcher.png
  51. BIN android/PredictionMarket/res/drawable-ldpi/ic_launcher.png
  52. BIN android/PredictionMarket/res/drawable-mdpi/ic_launcher.png
  53. BIN android/PredictionMarket/res/drawable-xhdpi/ic_launcher.png
  54. +45 −0 android/PredictionMarket/res/layout/buy_sell_dialog.xml
  55. +20 −0 android/PredictionMarket/res/layout/contract_details.xml
  56. +2 −4 android/PredictionMarket/res/layout/contract_item.xml
  57. +13 −0 android/PredictionMarket/res/layout/header_item.xml
  58. +44 −0 android/PredictionMarket/res/layout/position_item.xml
  59. +9 −2 android/PredictionMarket/res/values/strings.xml
  60. +43 −15 android/PredictionMarket/src/com/bitcoin/predictionmarket/activity/ContractDetailsActivity.java
  61. +2 −1 android/PredictionMarket/src/com/bitcoin/predictionmarket/activity/MainActivity.java
  62. +99 −34 android/PredictionMarket/src/com/bitcoin/predictionmarket/adapter/ContractListAdapter.java
  63. +162 −0 android/PredictionMarket/src/com/bitcoin/predictionmarket/adapter/PositionsAdapter.java
  64. +55 −0 android/PredictionMarket/src/com/bitcoin/predictionmarket/fragment/BuySellDialogFragment.java
  65. +5 −2 android/PredictionMarket/src/com/bitcoin/predictionmarket/fragment/ContractListFragment.java
  66. +66 −0 android/PredictionMarket/src/com/bitcoin/predictionmarket/fragment/PositionsFragment.java
  67. +9 −3 android/PredictionMarket/src/com/bitcoin/predictionmarket/model/Contract.java
  68. +12 −0 android/PredictionMarket/src/com/bitcoin/predictionmarket/model/Position.java
  69. +76 −0 public/demo/buy.html
  70. +1 −0 public/demo/css/bootstrap.css
  71. +9 −0 public/demo/css/main.css
  72. BIN public/demo/img/glyphicons-halflings-white.png
  73. BIN public/demo/img/glyphicons-halflings.png
  74. BIN public/demo/img/icons-gc-w.png
  75. BIN public/demo/img/logo.png
  76. BIN public/demo/img/logo.psd
  77. +115 −0 public/demo/index.html
  78. +2,276 −0 public/demo/js/bootstrap.js
  79. +6 −0 public/demo/js/bootstrap.min.js
View
@@ -1,3 +0,0 @@
-[submodule "android/GraphView"]
- path = android/GraphView
- url = git://github.com/jjoe64/GraphView.git
Submodule GraphView deleted from 4f2991
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="gen"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
+ <classpathentry kind="output" path="bin/classes"/>
+</classpath>
@@ -0,0 +1,2 @@
+/bin
+/gen
View
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>GraphView</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ApkBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.jjoe64.graphview"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <uses-sdk android:targetSdkVersion="16"></uses-sdk>
+
+ <application android:icon="@drawable/icon" android:label="@string/app_name">
+ <activity android:name="GraphViewDemo">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"></action>
+ <category android:name="android.intent.category.LAUNCHER"></category>
+ </intent-filter>
+
+ </activity>
+ </application>
+</manifest>
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,69 @@
+Chart and Graph Library for Android
+====================================
+
+<h2>What is GraphView</h2>
+GraphView is a library for Android to programmatically create flexible and nice-looking diagramms. It is easy to understand, to integrate and to customize it.
+At the moment there are two different types:
+<ul>
+<li>Line Charts</li>
+<li>Bar Charts</li>
+</ul>
+
+Tested on Android 1.6, 2.2, 2.3 and 3.0 (honeycomb, tablet), 4.0.
+
+<img src="https://github.com/jjoe64/GraphView/raw/master/GVLine.jpg" height="200" />
+<img src="https://github.com/jjoe64/GraphView/raw/master/GVBar.png" height="200" />
+<img src="http://3.bp.blogspot.com/-BkLSSJSeCt8/TkD4xpeRyGI/AAAAAAAAA6M/sVC_1s_Bf-0/s1600/multi2.png" height="200" />
+
+<h2>Features</h2>
+
+* Two chart types
+Line Chart and Bar Chart.
+* Draw multiple series of data
+Let the diagram show more that one series in a graph. You can set a color and a description for every series.
+* Show legend
+A legend can be displayed inline the chart. You can set the width and the vertical align (top, middle, bottom).
+* Custom labels
+The labels for the x- and y-axis are generated automatically. But you can set your own labels, Strings are possible.
+* Handle incomplete data
+It's possible to give the data in different frequency.
+* Viewport
+You can limit the viewport so that only a part of the data will be displayed.
+* Scrolling
+You can scroll with a finger touch move gesture.
+* Scaling / Zooming
+Since Android 2.3! With two-fingers touch scale gesture (Multi-touch), the viewport can be changed.
+* Background (line graph)
+Optionally draws a light background under the diagram stroke.
+* Manual Y axis limits
+* Realtime Graph (Live)
+
+<h2>How to use</h2>
+<a href="http://www.jjoe64.com/p/graphview-library.html">View GraphView page http://www.jjoe64.com/p/graphview-library.html</a>
+
+Very simple example:
+<pre>
+// init example series data
+GraphViewSeries exampleSeries = new GraphViewSeries(new GraphViewData[] {
+       new GraphViewData(1, 2.0d)
+       , new GraphViewData(2, 1.5d)
+       , new GraphViewData(3, 2.5d)
+       , new GraphViewData(4, 1.0d)
+});
+
+GraphView graphView = new LineGraphView(
+      this // context
+      , "GraphViewDemo" // heading
+);
+graphView.addSeries(exampleSeries); // data
+
+LinearLayout layout = (LinearLayout) findViewById(R.id.layout);
+layout.addView(graphView);
+</pre>
+
+<h2>Important</h2>
+To show you how to integrate the library into an existing project see the GraphView-Demos project!
+See GraphView-Demos for examples.
+<a href="https://github.com/jjoe64/GraphView-Demos">https://github.com/jjoe64/GraphView-Demos<br/>
+<a href="http://www.jjoe64.com/p/graphview-library.html">View GraphView page http://www.jjoe64.com/p/graphview-library.html</a>
+
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.6.0_22) on Wed Jul 06 09:22:50 CEST 2011 -->
+<TITLE>
+All Classes
+</TITLE>
+
+<META NAME="date" CONTENT="2011-07-06">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+
+</HEAD>
+
+<BODY BGCOLOR="white">
+<FONT size="+1" CLASS="FrameHeadingFont">
+<B>All Classes</B></FONT>
+<BR>
+
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
+<TR>
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="com/jjoe64/graphview/GraphView.html" title="class in com.jjoe64.graphview" target="classFrame">GraphView</A>
+<BR>
+<A HREF="com/jjoe64/graphview/GraphView.GraphViewData.html" title="class in com.jjoe64.graphview" target="classFrame">GraphView.GraphViewData</A>
+<BR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+</BODY>
+</HTML>
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.6.0_22) on Wed Jul 06 09:22:50 CEST 2011 -->
+<TITLE>
+All Classes
+</TITLE>
+
+<META NAME="date" CONTENT="2011-07-06">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+
+</HEAD>
+
+<BODY BGCOLOR="white">
+<FONT size="+1" CLASS="FrameHeadingFont">
+<B>All Classes</B></FONT>
+<BR>
+
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
+<TR>
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="com/jjoe64/graphview/GraphView.html" title="class in com.jjoe64.graphview">GraphView</A>
+<BR>
+<A HREF="com/jjoe64/graphview/GraphView.GraphViewData.html" title="class in com.jjoe64.graphview">GraphView.GraphViewData</A>
+<BR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+</BODY>
+</HTML>
Oops, something went wrong.

0 comments on commit 22a58b4

Please sign in to comment.