public abstract class Series extends Object implements org.apache.wicket.util.io.IClusterable
Chart's model object| Constructor and Description |
|---|
Series(String name,
String type)
Constructor
|
Series(String name,
String type,
String axis)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAxis()
Gets the axis on which the series should be placed
|
String |
getColor()
Gets the series color
|
String |
getName()
Gets the series name
|
String |
getTooltip()
Sets the series tooltip (as JSON string)
|
String |
getType()
Gets the series type (line, column, etc)
|
Series |
setColor(String color)
Sets the series color
|
Series |
setTooltip(String tooltip)
Sets the series tooltip (as JSON string)
caution: FIXME does not seems to work |
public Series(String name, String type)
name - the series nametype - the series type (line, column, etc)public String getName()
public String getType()
public String getAxis()
public String getColor()
public Series setColor(String color)
color - the series colorpublic String getTooltip()
Copyright © 2021 7thWeb. All rights reserved.