Skip to content
Snippets Groups Projects
Commit abdbde95 authored by Tim Molter's avatar Tim Molter
Browse files

minor changes

parent 187eeb58
No related branches found
No related tags found
No related merge requests found
......@@ -302,13 +302,13 @@ public class Series {
return name;
}
void replaceXData(Collection<?> newXData) {
public void replaceXData(Collection<?> newXData) {
xData = newXData;
calculateMinMax();
}
void replaceYData(Collection<? extends Number> newYData) {
public void replaceYData(Collection<? extends Number> newYData) {
yData = newYData;
calculateMinMax();
......
......@@ -261,7 +261,7 @@ public class XChartPanel extends JPanel {
series.replaceYData(newYData);
// generate X-Data
List<Number> generatedXData = new ArrayList<Number>();
List<Integer> generatedXData = new ArrayList<Integer>();
for (int i = 1; i < newYData.size() + 1; i++) {
generatedXData.add(i);
}
......
......@@ -49,9 +49,9 @@ public class Axis implements ChartPart {
/** the axis direction */
private Direction direction;
private double min;;
private double min;
private double max;;
private double max;
/** the bounds */
private Rectangle2D bounds;
......@@ -84,7 +84,7 @@ public class Axis implements ChartPart {
}
/**
* Reset the default min and max values in preparation for calculating the actualy min and max
* Reset the default min and max values in preparation for calculating the actual min and max
*/
void resetMinMax() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment