public class LineChart extends ChartType
cf, chartobj, defaultShape, legend, wbAREACHART, BARCHART, BUBBLECHART, COLCHART, CONEBARCHART, CONECHART, CYLINDERBARCHART, CYLINDERCHART, DOUGHNUTCHART, LINECHART, OFPIECHART, PIECHART, PYRAMIDBARCHART, PYRAMIDCHART, RADARAREACHART, RADARCHART, SCATTERCHART, SHAPECOLUMN, SHAPECONE, SHAPECONETOMAX, SHAPECYLINDER, SHAPEDEFAULT, SHAPEPYRAMID, SHAPEPYRAMIDTOMAX, STOCKCHART, SURFACECHART, XAXIS, XVALAXIS, YAXIS, ZAXIS| Constructor and Description |
|---|
LineChart(GenericChartObject charttype,
ChartFormat cf,
WorkBook wb) |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
getOOXML(String catAxisId,
String valAxisId,
String serAxisId)
gets the chart-type specific ooxml representation:
|
String |
getSVG(HashMap<String,Double> chartMetrics,
HashMap<String,Object> axisMetrics,
ChartSeries s)
returns SVG to represent the actual chart object i.e.
|
org.json.JSONObject |
getTypeJSON()
return the type JSON for this Chart Object
|
addLegend, addLegend, convertShape, create, createChartTypeObject, createUnderlyingChartObject, getBarShape, getChartOption, getChartOptionsXML, getChartType, getDarkColor, getDataLabel, getDataLabelFontSVG, getDataLabelInts, getDataLabels, getDataLabelsInt, getDataLegend, getFillOpacity, getFontSVG, getFontSVG, getGapDepth, getHasDropLines, getHasLines, getHasSmoothLines, getJSON, getJSON, getLightColor, getMarkerFormat, getMarkerFormats, getMediumColor, getOptionsJSON, getParentChart, getScript, getSeriesList, getShape, getStrokeSVG, getStrokeSVG, getSVG, getSVGDataLabels, getTextColor, getThreeDRec, getThreeDXML, hasDataLegend, initThreeD, is100PercentStacked, isClustered, isStacked, isThreeD, parseOOXML, setChartOption, setHasDropLines, setHasSmoothLines, setIs100Psercent, setIsStacked, setOptions, setVaryColor, showLegend, WriteMainChartRecspublic LineChart(GenericChartObject charttype, ChartFormat cf, WorkBook wb)
public org.json.JSONObject getTypeJSON()
throws org.json.JSONException
getTypeJSON in class ChartTypeorg.json.JSONExceptionpublic String getSVG(HashMap<String,Double> chartMetrics, HashMap<String,Object> axisMetrics, ChartSeries s)
getSVG in class ChartTypechartMetrics - maps chart coords in pixels x, y, w, h, canvasw, canvash, min, maxaxisMetrics - maps specific axis options such as xAxisReversed, xPattern ...categories - series - arraylist of double[] series valuesseriescolors - int[] of series or bar colors color intsCopyright © 2002–2019 Starter Inc.. All rights reserved.