Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
XChart
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Brady James Garvin
XChart
Commits
ef7e4334
Commit
ef7e4334
authored
11 years ago
by
Tim Molter
Browse files
Options
Downloads
Patches
Plain Diff
Issue #45. Setting a series property improvement
parent
17a0d9e8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xchart/src/main/java/com/xeiam/xchart/Series.java
+14
-7
14 additions, 7 deletions
xchart/src/main/java/com/xeiam/xchart/Series.java
with
14 additions
and
7 deletions
xchart/src/main/java/com/xeiam/xchart/Series.java
+
14
−
7
View file @
ef7e4334
...
...
@@ -172,9 +172,10 @@ public class Series {
*
* @param seriesLineStyle
*/
public
void
setLineStyle
(
SeriesLineStyle
seriesLineStyle
)
{
public
Series
setLineStyle
(
SeriesLineStyle
seriesLineStyle
)
{
stroke
=
SeriesLineStyle
.
getBasicStroke
(
seriesLineStyle
);
return
this
;
}
/**
...
...
@@ -182,9 +183,10 @@ public class Series {
*
* @param basicStroke
*/
public
void
setLineStyle
(
BasicStroke
basicStroke
)
{
public
Series
setLineStyle
(
BasicStroke
basicStroke
)
{
stroke
=
basicStroke
;
return
this
;
}
/**
...
...
@@ -192,9 +194,10 @@ public class Series {
*
* @param seriesColor
*/
public
void
setLineColor
(
SeriesColor
seriesColor
)
{
public
Series
setLineColor
(
SeriesColor
seriesColor
)
{
strokeColor
=
seriesColor
.
getColor
();
return
this
;
}
/**
...
...
@@ -202,9 +205,10 @@ public class Series {
*
* @param color
*/
public
void
setLineColor
(
java
.
awt
.
Color
color
)
{
public
Series
setLineColor
(
java
.
awt
.
Color
color
)
{
strokeColor
=
color
;
return
this
;
}
/**
...
...
@@ -212,9 +216,10 @@ public class Series {
*
* @param seriesMarker
*/
public
void
setMarker
(
SeriesMarker
seriesMarker
)
{
public
Series
setMarker
(
SeriesMarker
seriesMarker
)
{
this
.
marker
=
seriesMarker
.
getMarker
();
return
this
;
}
/**
...
...
@@ -222,9 +227,10 @@ public class Series {
*
* @param seriesColor
*/
public
void
setMarkerColor
(
SeriesColor
seriesColor
)
{
public
Series
setMarkerColor
(
SeriesColor
seriesColor
)
{
this
.
markerColor
=
seriesColor
.
getColor
();
return
this
;
}
/**
...
...
@@ -232,9 +238,10 @@ public class Series {
*
* @param color
*/
public
void
setMarkerColor
(
java
.
awt
.
Color
color
)
{
public
Series
setMarkerColor
(
java
.
awt
.
Color
color
)
{
this
.
markerColor
=
color
;
return
this
;
}
public
Collection
<?>
getXData
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment