Skip to content

Commit 09bd95b

Browse files
committed
Initial commit with ABOUT file
0 parents  commit 09bd95b

19 files changed

+870
-0
lines changed

.classpath

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
5+
<classpathentry kind="output" path="bin"/>
6+
</classpath>

.project

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>Chart</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.jdt.core.javanature</nature>
16+
</natures>
17+
</projectDescription>

.settings/org.eclipse.jdt.core.prefs

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
4+
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5+
org.eclipse.jdt.core.compiler.compliance=1.7
6+
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7+
org.eclipse.jdt.core.compiler.debug.localVariable=generate
8+
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11+
org.eclipse.jdt.core.compiler.source=1.7

ABOUT

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
DATE: 9-10-17 11:52 PM
2+
ABOUT THIS VERSION OF CHART PROJECT
3+
===================================
4+
5+
Features:
6+
* Multiple series
7+
* Two axis chart, with auto interval calculation in both axis.
8+
* Easy way to change look and feel of the chart with two built-in styles; LIGHT and DARK.
9+
* Auto generated ledgend (if enabled)
10+
* Chart title (optionally shown, default is ON, with customization in LookAndFeel class.
11+
* Chart does automatic padding calculation based on wether legend or tite is visible and
12+
the width of y axis lables.
13+
* In both the axis some of the labels are not printed, if there is not enough space to plac
14+
them.
15+
16+
Features in the future:
17+
* Four axis layout, 2 X and 2 Y axis.
18+
* Logrithmic layout
19+
* Ability to have chart types, like PIE, HISTOGRAM, LINE (currently the only type) and so on.
20+

bin/com/omnirover/java/Axis.class

1.67 KB
Binary file not shown.

bin/com/omnirover/java/Chart$1.class

620 Bytes
Binary file not shown.

bin/com/omnirover/java/Chart.class

12.1 KB
Binary file not shown.
1.01 KB
Binary file not shown.
3.68 KB
Binary file not shown.

bin/com/omnirover/java/Padding.class

1.49 KB
Binary file not shown.

bin/com/omnirover/java/Range.class

526 Bytes
Binary file not shown.

bin/com/omnirover/java/Series.class

2.59 KB
Binary file not shown.

src/com/omnirover/java/Axis.java

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
package com.omnirover.java;
2+
import java.awt.Color;
3+
4+
public class Axis {
5+
private Range range;
6+
private int labelInterval;
7+
private boolean showGridLines;
8+
private IntervalType intervaltype;
9+
private String labelFormatString;
10+
11+
public int getMinimumLabelSpacing_pixel()
12+
{
13+
return 5;
14+
}
15+
16+
public String getLabelFormatString() {
17+
return labelFormatString;
18+
}
19+
20+
public void setLabelFormatString(String labelFormatString) {
21+
this.labelFormatString = labelFormatString;
22+
}
23+
24+
public IntervalType getIntervaltype() {
25+
return intervaltype;
26+
}
27+
28+
public void setIntervaltype(IntervalType intervaltype) {
29+
this.intervaltype = intervaltype;
30+
}
31+
32+
public void setShowGridLines(boolean b)
33+
{
34+
showGridLines = b;
35+
}
36+
37+
public boolean getShowGridLines()
38+
{
39+
return showGridLines;
40+
}
41+
42+
public void setRange(Range r)
43+
{
44+
range = r;
45+
}
46+
47+
public Range getRange()
48+
{
49+
return range;
50+
}
51+
52+
public void setLabelInterval(int n)
53+
{
54+
labelInterval = n;
55+
}
56+
57+
public int getLabelInterval()
58+
{
59+
return labelInterval;
60+
}
61+
}

0 commit comments

Comments
 (0)