public class DoughnutChart 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 |
|---|
DoughnutChart(GenericChartObject charttype,
ChartFormat cf,
WorkBook wb) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
getJSON(ChartSeriesHandle[] series,
WorkBookHandle wbh,
Double[] minMax)
return the JSON that
|
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 DoughnutChart(GenericChartObject charttype, ChartFormat cf, WorkBook wb)
public org.json.JSONObject getJSON(ChartSeriesHandle[] series, WorkBookHandle wbh, Double[] minMax) throws org.json.JSONException
seriesvals - range - org.json.JSONExceptionpublic 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.