|
Lines 164-201
public class CustomBar extends Series {
Link Here
|
| 164 |
@Override |
164 |
@Override |
| 165 |
public void assign(Series source) { |
165 |
public void assign(Series source) { |
| 166 |
super.assign(source); |
166 |
super.assign(source); |
| 167 |
if(source instanceof CustomBar) |
167 |
if (source instanceof CustomBar) { |
| 168 |
{ |
168 |
CustomBar tmp = (CustomBar)source; |
| 169 |
this.setBarSizePercent(((CustomBar) source).getBarSizePercent()); |
169 |
setBarSizePercent(tmp.getBarSizePercent()); |
| 170 |
this.setDepthPercent(((CustomBar) source).getDepthPercent()); |
170 |
setDepthPercent(tmp.getDepthPercent()); |
| 171 |
this.setOffsetPercent(((CustomBar) source).getOffsetPercent()); |
171 |
setOffsetPercent(tmp.getOffsetPercent()); |
| 172 |
this.setConePercent(((CustomBar) source).getConePercent()); |
172 |
setConePercent(tmp.getConePercent()); |
| 173 |
this.setDark3D(((CustomBar) source).getDark3D()); |
173 |
setDark3D(tmp.getDark3D()); |
| 174 |
this.setMultiBar(((CustomBar) source).getMultiBar()); |
174 |
setMultiBar(tmp.getMultiBar()); |
| 175 |
this.setUseOrigin(((CustomBar) source).getUseOrigin()); |
175 |
setUseOrigin(tmp.getUseOrigin()); |
| 176 |
this.setMarksOnBar(((CustomBar) source).getMarksOnBar()); |
176 |
setMarksOnBar(tmp.getMarksOnBar()); |
| 177 |
this.setOrigin(((CustomBar) source).getOrigin()); |
177 |
setOrigin(tmp.getOrigin()); |
| 178 |
this.setMarksLocation(((CustomBar) source).getMarksLocation()); |
178 |
setMarksLocation(tmp.getMarksLocation()); |
| 179 |
this.setAutoMarkPosition(((CustomBar) source).getAutoMarkPosition()); |
179 |
setAutoMarkPosition(tmp.getAutoMarkPosition()); |
| 180 |
this.setBarStyle(((CustomBar) source).getBarStyle()); |
180 |
setBarStyle(tmp.getBarStyle()); |
| 181 |
this.setGradientRelative(((CustomBar) source).getGradientRelative()); |
181 |
setGradientRelative(tmp.getGradientRelative()); |
| 182 |
this.setRoundSize(((CustomBar) source).getRoundSize()); |
182 |
setRoundSize(tmp.getRoundSize()); |
| 183 |
this.setBarRound(((CustomBar) source).getBarRound()); |
183 |
setBarRound(tmp.getBarRound()); |
| 184 |
this.setSideMargins(((CustomBar) source).getSideMargins()); |
184 |
setSideMargins(tmp.getSideMargins()); |
| 185 |
this.setStackGroup(((CustomBar) source).getStackGroup()); |
185 |
setStackGroup(tmp.getStackGroup()); |
| 186 |
this.iBarBounds=((CustomBar) source).iBarBounds; |
186 |
iBarBounds = tmp.iBarBounds; |
| 187 |
this.iMaxBarPoints=((CustomBar) source).iMaxBarPoints; |
187 |
iMaxBarPoints = tmp.iMaxBarPoints; |
| 188 |
this.iOrderPos=((CustomBar) source).iOrderPos; |
188 |
iOrderPos = tmp.iOrderPos; |
| 189 |
this.iPreviousCount=((CustomBar) source).iPreviousCount; |
189 |
iPreviousCount = tmp.iPreviousCount; |
| 190 |
this.iBarSize=((CustomBar) source).iBarSize; |
190 |
iBarSize = tmp.iBarSize; |
| 191 |
this.customBarSize=((CustomBar) source).customBarSize; |
191 |
customBarSize = tmp.customBarSize; |
| 192 |
this.allowSinglePoint = ((CustomBar) source).allowSinglePoint; |
192 |
allowSinglePoint = tmp.allowSinglePoint; |
| 193 |
this.groups = ((CustomBar) source).groups; |
193 |
groups = tmp.groups; |
| 194 |
this.normalBarColor = ((CustomBar) source).normalBarColor; |
194 |
normalBarColor = tmp.normalBarColor; |
| 195 |
this.roundSize = ((CustomBar) source).roundSize; |
195 |
roundSize = tmp.roundSize; |
| 196 |
this.styleResolver = ((CustomBar) source).styleResolver; |
196 |
styleResolver = tmp.styleResolver; |
| 197 |
this.tickLines.assign(((CustomBar) source).tickLines); |
197 |
if (tmp.tickLines == null) { |
| 198 |
|
198 |
tickLines = null; |
|
|
199 |
} else { |
| 200 |
getTickLines().assign(tmp.tickLines); |
| 201 |
} |
| 199 |
} |
202 |
} |
| 200 |
} |
203 |
} |
| 201 |
|
204 |
|