Class GraphDrawerImpl
- java.lang.Object
-
- jetbrains.buildServer.web.statistics.graph.build.GraphDrawerImpl
-
- All Implemented Interfaces:
GraphDrawer
public class GraphDrawerImpl extends Object implements GraphDrawer
Draws graph from filtered data. This class is actually static
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.web.statistics.graph.GraphDrawer
GraphDrawer.RenderType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Color
decodeColor(String color)
static String
encodeColor(Color color)
void
generate(BuildGraphBean gb)
Generates graph information including graph map.static Color
getSeriesColor(BuildGraphBean gb, String s)
static String
getSeriesColorString(BuildGraphBean gb, String s)
static GraphDrawerImpl
instance()
BufferedImage
makeBufferedImage(BuildGraphBean gb)
Renders graph image
-
-
-
Method Detail
-
instance
public static GraphDrawerImpl instance()
- Returns:
- singleton instance
-
generate
public void generate(@NotNull BuildGraphBean gb)
Generates graph information including graph map.
- Specified by:
generate
in interfaceGraphDrawer
- Parameters:
gb
-
-
makeBufferedImage
public BufferedImage makeBufferedImage(@NotNull BuildGraphBean gb)
Renders graph image
- Parameters:
gb
-- Returns:
-
getSeriesColor
public static Color getSeriesColor(BuildGraphBean gb, String s)
-
getSeriesColorString
public static String getSeriesColorString(BuildGraphBean gb, String s)
-
-