├── .gitignore ├── Magnificent Chart Demo ├── .gitignore ├── Magnificent Chart Demo.iml ├── build.gradle ├── proguard-rules.txt └── src │ └── main │ ├── AndroidManifest.xml │ ├── ic_launcher-web.png │ ├── java │ └── com │ │ └── hornet │ │ └── magnificentchartdemo │ │ ├── MagnificentChart.java │ │ ├── MagnificentChartItem.java │ │ └── MainActivity.java │ └── res │ ├── drawable-hdpi │ └── ic_launcher.png │ ├── drawable-mdpi │ └── ic_launcher.png │ ├── drawable-xhdpi │ └── ic_launcher.png │ ├── drawable-xxhdpi │ └── ic_launcher.png │ ├── layout │ └── activity_main.xml │ ├── menu │ └── main.xml │ ├── values-w820dp │ └── dimens.xml │ └── values │ ├── attrs.xml │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml ├── MagnificentChart.iml ├── MagnificentChartDemo.iml ├── README.md ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── local.properties └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | #built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # files for the dex VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # generated files 12 | bin/ 13 | gen/ 14 | 15 | # Local configuration file (sdk path, etc) 16 | local.properties 17 | 18 | # Windows thumbnail db 19 | Thumbs.db 20 | 21 | # OSX files 22 | .DS_Store 23 | 24 | # Eclipse project files 25 | .classpath 26 | .project 27 | 28 | # Android Studio 29 | .idea 30 | #.idea/workspace.xml - remove # and delete .idea if it better suit your needs. 31 | .gradle 32 | build/ 33 | -------------------------------------------------------------------------------- /Magnificent Chart Demo/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /Magnificent Chart Demo/Magnificent Chart Demo.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /Magnificent Chart Demo/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | mavenCentral() 4 | } 5 | dependencies { 6 | classpath 'com.android.tools.build:gradle:0.9.0' 7 | } 8 | } 9 | apply plugin: 'android' 10 | 11 | repositories { 12 | mavenCentral() 13 | } 14 | 15 | android { 16 | compileSdkVersion 14 17 | buildToolsVersion "19.1.0" 18 | 19 | defaultConfig { 20 | minSdkVersion 14 21 | targetSdkVersion 14 22 | versionCode 1 23 | versionName "1.0" 24 | } 25 | buildTypes { 26 | release { 27 | runProguard false 28 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' 29 | } 30 | } 31 | } 32 | 33 | dependencies { 34 | } 35 | -------------------------------------------------------------------------------- /Magnificent Chart Demo/proguard-rules.txt: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Applications/Android Studio.app/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the ProGuard 5 | # include property in project.properties. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} -------------------------------------------------------------------------------- /Magnificent Chart Demo/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Magnificent Chart Demo/src/main/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geek-1001/MagnificentChart/10a5cb404cc3c530234e267b909e28e35cbf3c2e/Magnificent Chart Demo/src/main/ic_launcher-web.png -------------------------------------------------------------------------------- /Magnificent Chart Demo/src/main/java/com/hornet/magnificentchartdemo/MagnificentChart.java: -------------------------------------------------------------------------------- 1 | package com.hornet.magnificentchartdemo; 2 | 3 | import android.content.Context; 4 | import android.content.res.TypedArray; 5 | import android.graphics.Canvas; 6 | import android.graphics.Color; 7 | import android.graphics.Paint; 8 | import android.graphics.Path; 9 | import android.graphics.Point; 10 | import android.graphics.RectF; 11 | import android.graphics.Typeface; 12 | import android.util.AttributeSet; 13 | import android.util.Log; 14 | import android.view.Display; 15 | import android.view.View; 16 | import android.view.WindowManager; 17 | 18 | import java.util.List; 19 | 20 | /** 21 | * Created by Ahmed on 30.01.14. 22 | */ 23 | public class MagnificentChart extends View { 24 | 25 | // #MARK - Constants 26 | 27 | // default initialization params 28 | public static final float ANIMATION_SPEED_DEFAULT = 6.5f; 29 | public static final float ANIMATION_SPEED_SLOW = 1.0f; 30 | public static final float ANIMATION_SPEED_FAST = 10.0f; 31 | public static final float ANIMATION_SPEED_NORMAL = 3.5f; 32 | 33 | // view properties 34 | private List chartItemsList; 35 | private int maxValue; 36 | private boolean isTitleShowing; 37 | private boolean isAnimated; 38 | private boolean isRound; 39 | private boolean isShadowShowing; 40 | private int shadowBackgroundColor; 41 | private int chartBackgroundColor; 42 | private Context context; 43 | private Typeface typeface = null; 44 | private int width; 45 | private int height; 46 | private float animationSpeed = 6.5f; 47 | 48 | private float globalCurrentAngle = 0.0f; 49 | 50 | 51 | 52 | // #MARK - Constructors 53 | 54 | public MagnificentChart(Context context) { 55 | super(context); 56 | init(context, null, 0, false, false, true, false, Color.parseColor("#DDDDDD"), Color.parseColor("#FFFFFF")); 57 | } 58 | 59 | public MagnificentChart(Context context, List itemsList, int maxValue){ 60 | super(context); 61 | init(context, itemsList, maxValue, false, false, true, false, Color.parseColor("#DDDDDD"), Color.parseColor("#FFFFFF")); 62 | } 63 | 64 | public MagnificentChart(Context context, List itemsList, int maxValue, boolean isAnimated, boolean isRound, boolean showShadow, boolean showTitle){ 65 | super(context); 66 | init(context, itemsList, maxValue, isAnimated, isRound, showShadow, showTitle, Color.parseColor("#DDDDDD"), Color.parseColor("#FFFFFF")); 67 | } 68 | 69 | public MagnificentChart(Context context, AttributeSet attrs) { 70 | super(context, attrs); 71 | 72 | TypedArray typedArray = context.getTheme().obtainStyledAttributes(attrs, R.styleable.MagnificentChart, 0, 0); 73 | try { 74 | boolean isAnimated = typedArray.getBoolean(R.styleable.MagnificentChart_animation, false); 75 | boolean isRound = typedArray.getBoolean(R.styleable.MagnificentChart_round, false); 76 | boolean showShadow = typedArray.getBoolean(R.styleable.MagnificentChart_shadow, true); 77 | boolean showTitle = typedArray.getBoolean(R.styleable.MagnificentChart_showTitle, false); 78 | int shadowColor = typedArray.getColor(R.styleable.MagnificentChart_shadowColor, Color.parseColor("#F2F2F2")); 79 | int backgroundColor = typedArray.getColor(R.styleable.MagnificentChart_background, Color.parseColor("#FFFFFF")); 80 | 81 | init(context, null, 0, isAnimated, isRound, showShadow, showTitle, shadowColor, backgroundColor); 82 | } finally { 83 | typedArray.recycle(); 84 | } 85 | } 86 | 87 | // #MARK - Override class methods 88 | 89 | @Override 90 | protected void onDraw(Canvas canvas){ 91 | super.onDraw(canvas); 92 | canvas.save(); 93 | if(width != height){ 94 | return; 95 | } 96 | 97 | if(this.isAnimated){ 98 | animatedDraw(canvas); 99 | } else { 100 | regularDraw(canvas); 101 | } 102 | 103 | canvas.restore(); 104 | } 105 | 106 | @Override 107 | protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec){ 108 | setMeasuredDimension(measureWidth(widthMeasureSpec), measureHeight(heightMeasureSpec)); 109 | } 110 | 111 | @Override 112 | protected void onSizeChanged (int width, int height, int oldWidth, int oldHeight){ 113 | this.width = width; 114 | this.height = height; 115 | } 116 | 117 | // #MARK - Custom methods 118 | 119 | private void init(Context context, List itemsList, int maxValue, boolean isAnimated, boolean isRound, boolean showShadow, boolean showTitle, int shadowColor, int backgroundColor){ 120 | this.context = context; 121 | this.chartItemsList = itemsList; 122 | this.isAnimated = isAnimated; 123 | this.isRound = isRound; 124 | this.isShadowShowing = showShadow; 125 | this.shadowBackgroundColor = shadowColor; 126 | this.chartBackgroundColor = backgroundColor; 127 | this.maxValue = maxValue; 128 | this.isTitleShowing = showTitle; 129 | } 130 | 131 | private int measureWidth(int widthMeasureSpec){ 132 | int result = 0; 133 | int specMode = MeasureSpec.getMode(widthMeasureSpec); 134 | int specSize = MeasureSpec.getSize(widthMeasureSpec); 135 | WindowManager windowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); 136 | Display display = windowManager.getDefaultDisplay(); 137 | Point size = new Point(); 138 | display.getSize(size); 139 | int screenWidth = size.x; 140 | if(specMode == MeasureSpec.EXACTLY){ 141 | result = specSize; 142 | } else { 143 | result = screenWidth; 144 | if(specMode == MeasureSpec.AT_MOST){ 145 | result = Math.min(result, specSize); 146 | } 147 | } 148 | this.width = result; 149 | return result; 150 | } 151 | 152 | private int measureHeight(int heightMeasureSpec){ 153 | int result = 0; 154 | int specMode = MeasureSpec.getMode(heightMeasureSpec); 155 | int specSize = MeasureSpec.getSize(heightMeasureSpec); 156 | WindowManager windowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); 157 | Display display = windowManager.getDefaultDisplay(); 158 | Point size = new Point(); 159 | display.getSize(size); 160 | int screenHeight = size.y; 161 | if(specMode == MeasureSpec.EXACTLY){ 162 | result = specSize; 163 | } else { 164 | result = screenHeight; 165 | if(specMode == MeasureSpec.AT_MOST){ 166 | result = Math.min(result, specSize); 167 | } 168 | } 169 | this.height = result; 170 | return result; 171 | } 172 | 173 | 174 | public void setAnimationState(boolean state){ 175 | this.isAnimated = state; 176 | invalidate(); 177 | } 178 | 179 | public void setAnimationSpeed(float animationSpeed){ // use just value ANIMATION_SPEED_... from current class 180 | if(animationSpeed == ANIMATION_SPEED_DEFAULT || animationSpeed == ANIMATION_SPEED_SLOW || animationSpeed == ANIMATION_SPEED_FAST || animationSpeed == ANIMATION_SPEED_NORMAL){ 181 | this.animationSpeed = animationSpeed; 182 | } else { 183 | this.animationSpeed = ANIMATION_SPEED_DEFAULT; 184 | } 185 | invalidate(); 186 | } 187 | 188 | public void setRound(boolean state){ 189 | this.isRound = state; 190 | invalidate(); 191 | } 192 | 193 | public void setShadowShowingState(boolean state){ 194 | this.isShadowShowing = state; 195 | invalidate(); 196 | } 197 | 198 | public boolean getAnimationState(){ 199 | return this.isAnimated; 200 | } 201 | 202 | public boolean getRound(){ 203 | return this.isRound; 204 | } 205 | 206 | public boolean getShadowShowingState(){ 207 | return this.isShadowShowing; 208 | } 209 | 210 | public void setTitleShowingState(boolean state){ 211 | this.isTitleShowing = state; 212 | invalidate(); 213 | } 214 | 215 | public void setTypeface(Typeface typeface){ 216 | this.typeface = typeface; 217 | invalidate(); 218 | } 219 | 220 | public void setChartItemsList(List itemsList){ 221 | this.chartItemsList = itemsList; 222 | invalidate(); 223 | } 224 | 225 | public void setShadowBackgroundColor(int color){ 226 | this.shadowBackgroundColor = color; 227 | invalidate(); 228 | } 229 | 230 | public void setChartBackgroundColor(int color){ 231 | this.chartBackgroundColor = color; 232 | invalidate(); 233 | } 234 | 235 | public void setMaxValue(int maxValue){ 236 | this.maxValue = maxValue; 237 | invalidate(); 238 | } 239 | 240 | private float getPercent(int value, int maxValue){ 241 | float result = (float) value/maxValue; 242 | return result; 243 | } 244 | 245 | // #MARK - Drawing Methods 246 | 247 | private void regularDraw(Canvas canvas){ 248 | Paint insideShadowPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 249 | insideShadowPaint.setColor(shadowBackgroundColor); 250 | Paint insideChartPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 251 | insideChartPaint.setColor(chartBackgroundColor); 252 | RectF rect = new RectF(); 253 | rect.set(10, 10, width - 10, height - 10); 254 | drawMainCircle(canvas, insideShadowPaint, insideChartPaint, rect); 255 | canvas.rotate(-90f, rect.centerX(), rect.centerY()); 256 | 257 | if(this.chartItemsList != null && this.maxValue > 0){ 258 | drawItems(canvas, rect); 259 | canvas.rotate(90f, rect.centerX(), rect.centerY()); 260 | drawInsideCircle(canvas, insideShadowPaint, insideChartPaint); 261 | } 262 | } 263 | 264 | private void animatedDraw(Canvas canvas){ 265 | Paint insideShadowPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 266 | insideShadowPaint.setColor(shadowBackgroundColor); 267 | Paint insideChartPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 268 | insideChartPaint.setColor(chartBackgroundColor); 269 | RectF rect = new RectF(); 270 | rect.set(10, 10, width - 10, height - 10); 271 | drawMainCircle(canvas, insideShadowPaint, insideChartPaint, rect); 272 | canvas.rotate(-90f, rect.centerX(), rect.centerY()); 273 | 274 | if(chartItemsList != null && maxValue > 0){ 275 | drawItems(canvas, rect); 276 | 277 | Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); 278 | paint.setColor(chartBackgroundColor); 279 | RectF oval = new RectF(); 280 | oval.set(8, 8, width - 8, height - 8); 281 | Path path = new Path(); 282 | path.moveTo(oval.centerX(), oval.centerY()); 283 | path.addArc(oval, globalCurrentAngle, 360.0f - globalCurrentAngle); 284 | path.lineTo(oval.centerX(), oval.centerY()); 285 | 286 | canvas.drawPath(path, paint); 287 | globalCurrentAngle += animationSpeed; // <-- animation speed 288 | 289 | canvas.rotate(90f, rect.centerX(), rect.centerY()); 290 | if(!isRound){ 291 | if(isShadowShowing){ 292 | canvas.drawCircle(width/2, height/2, width/4 - 10, insideShadowPaint); 293 | } 294 | canvas.drawCircle(width/2, height/2, width/4 - 20, insideChartPaint); 295 | } 296 | 297 | if(globalCurrentAngle >= 360){ 298 | globalCurrentAngle = 0.0f; 299 | canvas.rotate(-90f, rect.centerX(), rect.centerY()); 300 | drawItems(canvas, rect); 301 | canvas.rotate(90f, rect.centerX(), rect.centerY()); 302 | drawInsideCircle(canvas, insideShadowPaint, insideChartPaint); 303 | return; 304 | } 305 | invalidate(); 306 | } 307 | } 308 | 309 | private void drawInsideCircle(Canvas canvas, Paint insideShadowPaint, Paint insideChartPaint){ 310 | if(!isRound){ 311 | if(isShadowShowing){ 312 | canvas.drawCircle(width/2, height/2, width/4 - 10, insideShadowPaint); 313 | } 314 | canvas.drawCircle(width/2, height/2, width/4 - 20, insideChartPaint); 315 | } 316 | } 317 | 318 | private void drawMainCircle(Canvas canvas, Paint insideShadowPaint, Paint insideChartPaint, RectF mainRectangle){ 319 | if(isShadowShowing){ 320 | canvas.drawCircle(width/2, height/2, width/2, insideShadowPaint); 321 | } 322 | canvas.drawArc(mainRectangle, 0f, 360f, true, insideChartPaint); 323 | } 324 | 325 | private void drawItems(Canvas canvas, RectF mainRectangle){ 326 | float startAngle = 0f; 327 | float anglesSum = 0f; 328 | Paint currentPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 329 | for(int i = 0; i < chartItemsList.size(); ++i){ 330 | MagnificentChartItem currentItem = chartItemsList.get(i); 331 | int color = currentItem.color; 332 | String title = currentItem.title; 333 | int value = currentItem.value; 334 | float currentPercentValue = getPercent(value, maxValue); 335 | float currentAngle = currentPercentValue * 360; 336 | anglesSum += currentAngle; 337 | currentPaint.setColor(color); 338 | canvas.drawArc(mainRectangle, startAngle, currentAngle, true, currentPaint); 339 | startAngle += currentAngle; 340 | } 341 | } 342 | 343 | } 344 | -------------------------------------------------------------------------------- /Magnificent Chart Demo/src/main/java/com/hornet/magnificentchartdemo/MagnificentChartItem.java: -------------------------------------------------------------------------------- 1 | package com.hornet.magnificentchartdemo; 2 | 3 | /** 4 | * Created by Ahmed on 30.01.14. 5 | */ 6 | public class MagnificentChartItem { 7 | 8 | // #MARK - Constants 9 | 10 | public int color; 11 | public int value; 12 | public String title; 13 | 14 | // #MARK - Constructors 15 | 16 | MagnificentChartItem(String title, int value, int color){ 17 | this.color = color; 18 | this.value = value; 19 | this.title = title; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /Magnificent Chart Demo/src/main/java/com/hornet/magnificentchartdemo/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.hornet.magnificentchartdemo; 2 | 3 | import android.app.Activity; 4 | import android.app.ActionBar; 5 | import android.app.Fragment; 6 | import android.graphics.Color; 7 | import android.os.Bundle; 8 | import android.view.LayoutInflater; 9 | import android.view.Menu; 10 | import android.view.MenuItem; 11 | import android.view.View; 12 | import android.view.ViewGroup; 13 | import android.os.Build; 14 | 15 | import java.util.ArrayList; 16 | import java.util.List; 17 | 18 | public class MainActivity extends Activity { 19 | 20 | MagnificentChart magnificentChart; 21 | 22 | @Override 23 | protected void onCreate(Bundle savedInstanceState) { 24 | super.onCreate(savedInstanceState); 25 | setContentView(R.layout.activity_main); 26 | 27 | MagnificentChartItem firstItem = new MagnificentChartItem("first", 30, Color.parseColor("#BAF0A2")); 28 | MagnificentChartItem secondItem = new MagnificentChartItem("second", 12, Color.parseColor("#2F6994")); 29 | MagnificentChartItem thirdItem = new MagnificentChartItem("third", 3, Color.parseColor("#FF6600")); 30 | MagnificentChartItem fourthItem = new MagnificentChartItem("fourth", 41, Color.parseColor("#800080")); 31 | MagnificentChartItem fifthItem = new MagnificentChartItem("fifth", 14, Color.parseColor("#708090")); 32 | 33 | List chartItemsList = new ArrayList(); 34 | chartItemsList.add(firstItem); 35 | chartItemsList.add(secondItem); 36 | chartItemsList.add(thirdItem); 37 | chartItemsList.add(fourthItem); 38 | chartItemsList.add(fifthItem); 39 | 40 | magnificentChart = (MagnificentChart) findViewById(R.id.magnificentChart); 41 | 42 | magnificentChart.setChartItemsList(chartItemsList); 43 | magnificentChart.setMaxValue(100); 44 | 45 | } 46 | 47 | public void onClick(View view){ 48 | switch(view.getId()){ 49 | case R.id.animationButton: 50 | if(magnificentChart.getAnimationState()){ 51 | magnificentChart.setAnimationState(false); 52 | } else { 53 | magnificentChart.setAnimationState(true); 54 | } 55 | break; 56 | 57 | case R.id.roundButton: 58 | if(magnificentChart.getRound()){ 59 | magnificentChart.setRound(false); 60 | } else { 61 | magnificentChart.setRound(true); 62 | } 63 | break; 64 | 65 | case R.id.shadowButton: 66 | if(magnificentChart.getShadowShowingState()){ 67 | magnificentChart.setShadowShowingState(false); 68 | } else { 69 | magnificentChart.setShadowShowingState(true); 70 | } 71 | break; 72 | 73 | case R.id.animationSpeedDefault: 74 | magnificentChart.setAnimationSpeed(MagnificentChart.ANIMATION_SPEED_DEFAULT); 75 | break; 76 | 77 | case R.id.animationSpeedSlow: 78 | magnificentChart.setAnimationSpeed(MagnificentChart.ANIMATION_SPEED_SLOW); 79 | break; 80 | 81 | case R.id.animationSpeedFast: 82 | magnificentChart.setAnimationSpeed(MagnificentChart.ANIMATION_SPEED_FAST); 83 | break; 84 | 85 | case R.id.animationSpeedNormal: 86 | magnificentChart.setAnimationSpeed(MagnificentChart.ANIMATION_SPEED_NORMAL); 87 | break; 88 | } 89 | } 90 | 91 | 92 | @Override 93 | public boolean onCreateOptionsMenu(Menu menu) { 94 | getMenuInflater().inflate(R.menu.main, menu); 95 | return true; 96 | } 97 | 98 | @Override 99 | public boolean onOptionsItemSelected(MenuItem item) { 100 | int id = item.getItemId(); 101 | if (id == R.id.action_settings) { 102 | return true; 103 | } 104 | return super.onOptionsItemSelected(item); 105 | } 106 | 107 | } 108 | -------------------------------------------------------------------------------- /Magnificent Chart Demo/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geek-1001/MagnificentChart/10a5cb404cc3c530234e267b909e28e35cbf3c2e/Magnificent Chart Demo/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Magnificent Chart Demo/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geek-1001/MagnificentChart/10a5cb404cc3c530234e267b909e28e35cbf3c2e/Magnificent Chart Demo/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Magnificent Chart Demo/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geek-1001/MagnificentChart/10a5cb404cc3c530234e267b909e28e35cbf3c2e/Magnificent Chart Demo/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Magnificent Chart Demo/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Geek-1001/MagnificentChart/10a5cb404cc3c530234e267b909e28e35cbf3c2e/Magnificent Chart Demo/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Magnificent Chart Demo/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 13 | 14 | 19 | 20 |