From cffc96d92ca0f4c86899a665623602472c77545e Mon Sep 17 00:00:00 2001
From: Tim Molter <tim.molter@gmail.com>
Date: Sun, 26 May 2013 19:24:08 +0200
Subject: [PATCH] updates

---
 README.md                                                    | 5 ++++-
 .../src/main/java/com/xeiam/xchart/standalone/Example0.java  | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 9d885ced..2c3de1e2 100644
--- a/README.md
+++ b/README.md
@@ -22,11 +22,14 @@ Usage is very simple: Create a Chart instance, add a series of data to it, and e
     // Save it
     BitmapEncoder.savePNG(chart, "./Sample_Chart.png");
     
+    // or save it in high-res
+    BitmapEncoder.savePNGWithDPI(chart, "./Sample_Chart_300_DPI.png", 300);
+    
 Now go ahead and [study some more examples](http://xeiam.com/xchart_examplecode.jsp), [download the thing](http://xeiam.com/xchart_changelog.jsp) and [provide feedback](https://github.com/timmolter/XChart/issues).
 
 ## Features
 * No additional dependencies
-* ~85KB Jar
+* ~100KB Jar
 * Line charts
 * Scatter charts
 * Area Charts
diff --git a/xchart-demo/src/main/java/com/xeiam/xchart/standalone/Example0.java b/xchart-demo/src/main/java/com/xeiam/xchart/standalone/Example0.java
index 70679072..ff15a29c 100644
--- a/xchart-demo/src/main/java/com/xeiam/xchart/standalone/Example0.java
+++ b/xchart-demo/src/main/java/com/xeiam/xchart/standalone/Example0.java
@@ -38,6 +38,7 @@ public class Example0 {
 
     // Save it
     BitmapEncoder.savePNG(chart, "./Sample_Chart.png");
+    BitmapEncoder.savePNGWithDPI(chart, "./Sample_Chart_300_DPI.png", 300);
 
   }
 }
-- 
GitLab