Jfreechart class:
Void setantialias (Boolean flag) font fuzzy boundary
Void setbackgroundimage (image) background image
Void setbackgroundimagealignment (INT alignment) specifies the alignment of the background image (the parameter constant is defined in the org. jfree. UI. Align class)
Void setbackgroundimagealpha (float alpha) background image transparency (0.0 ~ 1.0)
Void setbackgroundpaint (paint) background color
Void setborderpaint (paint) boundary line color
Void setborderstroke (stroke) Boundary stroke
Void setbordervisible (Boolean visible) whether the boundary line is visible
Bytes -----------------------------------------------------------------------------------------------------------
Texttitle class:
Void setfont (Font font) title Font
Void setpaint (paint) title Font color
Void settext (string text) Title content
Bytes -----------------------------------------------------------------------------------------------------------
Standardlegend (LEGEND) class:
Void setbackgroundpaint (paint) Graphical background color
Void settitle (String title)
Void settitlefont (Font font) Graphical title Font
Void setboundingboxarcwidth (INT arcwidth)
Void setboundingboxarcheight (INT archeight)
Void setoutlinepaint (paint) graphic border line color
Void setoutlinestroke (stroke) graphic border line strokes
Void setdisplayserieslines (Boolean flag) whether a horizontal line is displayed (the line chart is valid)
Void setdisplayseriesshapes (Boolean flag) whether the graphical items display the shape (line chart is valid)
Void setitemfont (Font font) Graphical font
Void setitempaint (paint) Graphical item font color
Void setanchor (INT anchor) Position of the graph in the chart (the parameter constant is defined in the legend class)
Bytes -----------------------------------------------------------------------------------------------------------
Axis class:
Void setvisible (Boolean flag) axis visible
Void setaxislinepaint (paint) coordinate axis line color (invalid 3D axis)
Void setaxislinestroke (stroke) coordinate axis line stroke (3D axis is invalid)
Void setaxislinevisible (Boolean visible) whether the axis line is visible (the 3D axis is invalid)
Void setfixeddimension (double dimension) (used for setting multiple coordinate axes in a composite table)
Void setlabel (string label) axis title
Void setlabelfont (Font font) axis title Font
Void setlabelpaint (paint) axis title Color
Void setlabelangle (double angle) 'coordinate axis title rotation angle (vertical coordinates can be rotated)
Void setticklabelfont (Font font) axis ruler value font
Void setticklabelpaint (paint) axis ruler value color
Void setticklabelsvisible (Boolean flag) whether the axis ruler value is displayed
Void settickmarkpaint (paint) axis ruler color
Void settickmarkstroke (stroke) axis scale stroke
Void settickmarksvisible (Boolean flag) Whether to display the axis ruler
Valueaxis (axis) class:
Void setautorange (Boolean auto) automatically sets the data range of the Data axis
Void setautorangeminimumsize (double size) automatically sets the minimum span of the data range in the data range of the Data axis.
Void setautotickunitselection (Boolean flag) whether the data label of the Data axis is automatically determined (true by default)
Void setfixedautorange (double length) Data axis fixed data range (set 100 to show the data range from maxvalue to MAXVALUE-100)
Void setinverted (Boolean flag) Whether to reverse the data axis (default value: false)
Void setlowermargin (double margin) Bottom (left) margin of the Data axis
Void setuppermargin (double margin) Top (right) margin of the Data axis
Void setlowerbound (double min) Minimum value displayed on the Data axis
Void setupperbound (double max) maximum value displayed on the Data axis
Void setpositivearrowvisible (Boolean visible) whether the forward arrow is displayed (the 3D axis is invalid)
Void setnegativearrowvisible (Boolean visible) Whether to display Reverse arrows (invalid 3D axis)
Void setverticalticklabels (Boolean flag) whether the data axis data label is rotated to the vertical
Void setstandardtickunits (tickunitsource source) data label of the Data axis (only integer labels can be displayed, and autotickunitselection must be set to false)
Numberaxis (valueaxis) class:
Void setautorangeincludeszero (Boolean flag) Whether to force the automatically selected data range to contain 0
Void setautorangestickyzero (Boolean flag) determines whether to forcibly include 0 in the entire data axis, even if 0 is not in the data range
Void setnumberformatoverride (numberformat formatter) Data axis data Label display format
Void settickunit (numbertickunit) data label of the Data axis (set autotickunitselection to false)
Dateaxis (valueaxis) class:
Void setmaximumdate (date maximumdate) Minimum date on the date axis
Void setminimumdate (date minimumdate) Maximum date on the date axis
Void setrange (date lower, date upper) date axis range
Void setdateformatoverride (dateformat formatter) date axis date Label display format
Void settickunit (datetickunit) date tag of the date axis (you need to set autotickunitselection to false)
Void settickmarkposition (datetickmarkposition position) date tag position (the parameter constant is defined in the org. jfree. Chart. axis. datetickmarkposition class)
Categoryaxis (axis) class:
Void setcategorymargin (double margin) category axis margin
Void setlowermargin (double margin) Bottom (left) margin of the category axis
Void setuppermargin (double margin) Top (right) margin of the category axis
Void setverticalcategorylabels (Boolean flag) whether the category axis title is rotated to the vertical
Void setmaxcategorylabelwidthratio (float ratio) maximum width of the category axis category label
Bytes -----------------------------------------------------------------------------------------------------------
Plot class:
Void setbackgroundimage (image) background image of the Data Area
Void setbackgroundimagealignment (INT alignment) Align the background image in the data area (the parameter constant is defined in the org. jfree. UI. Align class)
Void setbackgroundpaint (paint) background color of the Data Area
Void setbackgroundalpha (float alpha) Background transparency (0.0 ~ 1.0)
Void setforegroundalpha (float alpha) Foreground transparency of the Data zone (0.0 ~ 1.0)
Void setdataarearatio (double ratio) Percentage of data areas in the entire chart area
Void setoutlinepaint (paint) border line color of the Data Area
Boundary Line strokes in the Void setoutlinestroke (stroke) data area
Void setnodatamessage (string message) message displayed when no data exists
Void setnodatamessagefont (Font font) Message font displayed when no data exists
The message color displayed when void setnodatamessagepaint (paint) has no data
Categoryplot (PLOT) class:
Void setdataset (categorydataset dataset) two-dimensional data table in the data area
Void setcolumnrenderingorder (sortorder order) data classification sorting method
Void setaxisoffset (spacer offset) Distance from the coordinate axis to the data Zone
Void setorientation (plotorientation orientation) Direction of the Data zone (plotorientation. Horizontal or plotorientation. Vertical)
Void setdomainaxis (categoryaxis axis) category axis of the Data Area
Void setdomainaxislocation (axislocation location) location of the category axis (the parameter constant is defined in the org. jfree. Chart. axis. axislocation class)
Void setdomaingridlinesvisible (Boolean visible) classification axis grid visible
Void setdomaingridlinepaint (paint) classification axis grid line color
Void setdomaingridlinestroke (stroke) classification axis grid line strokes
Void setrangeaxis (valueaxis axis) Data axis
Void setrangeaxislocation (axislocation location) location of the Data axis (the parameter constant is defined in the org. jfree. Chart. axis. axislocation class)
Void setrangegridlinesvisible (Boolean visible) whether the data axis grid is visible
Void setrangegridlinepaint (paint) Data axis grid line color
Void setrangegridlinestroke (stroke) Data axis grid line strokes
Void setrenderer (categoryitemrenderer Renderer) indicates the data area (see Renderer group for details)
Void addannotation (categoryannotation annotation) adds a comment to the data area
Void addrangemarker (Marker marker, layer Layer) adds a numerical range area to the data area
Pieplot (PLOT) class:
Void setdataset (piedataset dataset) one-dimensional data table in the data area
Void setignorenullvalues (Boolean flag) ignores valueless Classification
Void setcircular (Boolean flag) whether the pie chart must be a positive circle
Void setstartangle (double angle) Initial Angle of the pie chart
Void setdirection (rotation direction) orientation of the pie chart
The partition extracted by void setexplodepercent (INT section, double percent) (the classification subscript of a one-dimensional data table) and the extracted distance (0.0 ~ 1.0), the 3D pie chart is invalid.
Void setlabelbackgroundpaint (paint) background color of the classification label
Void setlabelfont (Font font) font of the classification label
Void setlabelpaint (paint) class label font color
Void setlabellinkmargin (double margin) category label and graph connection line margin
Void setlabellinkpaint (paint) classification label and graph connection line color
Void setlabellinkstroke (stroke) classification label and stroke of the graph connection line
Void setlabeloutlinepaint (paint) classification label border color
Void setlabeloutlinestroke (paint) classification label border strokes
Void setlabelshadowpaint (paint) classification label shadow color
Void setmaximumlabelwidth (double width) the maximum length of a classification label (0.0 ~ 1.0)
Void setpieindex (INT index) index of the pie chart (used in the composite pie chart)
Void setsectionoutlinepaint (INT section, paint) specifies the border color of the category pie
Void setsectionoutlinestroke (INT section, stroke) specifies the border strokes of the category pie
Void setsectionpaint (INT section, paint) specifies the color of the category pie
Void setshadowpaint (paint) the shadow color of the pie chart.
Void setshadowxoffset (double offset) horizontal offset of the shadow to the pie chart
Void setshadowyoffset (double offset) vertical offset between the shadow and the pie chart
Void setlabelgenerator (piesectionlabelgenerator generator) classification label format. If it is set to null, the entire label, including the connection line, is not displayed.
Void settooltipgenerator (pietooltipgenerator generator) display format of mouse movement in Map
Drilling link format in void seturlgenerator (pieurlgenerator generator) Map
Pieplot3d (pieplot) class:
Void setdepthfactor (double factor) Z axis height of a 3D pie chart (0.0 ~ 1.0)
Multiplepieplot (PLOT) class:
Void setlimit (double limit) data association between each pie chart (more complex)
Void setpiechart (jfreechart piechart) display mode of each pie chart (see the jfreechart pieplot class)
Bytes -----------------------------------------------------------------------------------------------------------
Abstractrenderer class:
Void setitemlabelanchoroffset (double offset) offset between the data label and the data point
Void setitemlabelsvisible (Boolean visible) whether the data label is visible
Void setitemlabelfont (Font font) font of data labels
Void setitemlabelpaint (paint) font color of data labels
Void setitemlabelposition (itemlabelposition position) data tag location
Void setpositiveitemlabelposition (itemlabelposition position) positive number label position
Void setnegativeitemlabelposition (itemlabelposition position) Negative tag position
Void setoutlinepaint (paint) line color of the border
Void setoutlinestroke (stroke) line stroke of the graphic border
Void setpaint (paint) colors of all classification Images
Void setshape (shape) Shape of all classification images (such as the points of a line chart)
Void setstroke (stroke) strokes of all classification graphs (such as line of a line chart)
Void setseriesitemlabelsvisible (INT series, Boolean visible) specifies whether the data label of the category is visible.
Void setseriesitemlabelfont (INT series, Font font) specifies the font of the data label of the category
Void setseriesitemlabelpaint (INT series, paint) specifies the font color of the data label of the classification.
Void setseriesitemlabelposition (INT series, itemlabelposition position)
Void setseriespositiveitemlabelposition (INT series, itemlabelposition position) positive number label position
Void setseriesnegativeitemlabelposition (INT series, itemlabelposition position) Negative tag position
Void setseriesoutlinepaint (INT series, paint) specifies the line color of the graphic border for classification
Void setseriesoutlinestroke (INT series, stroke) specifies the line strokes of the graphic border for classification
Void setseriespaint (INT series, paint) specifies the color of the classification Image
Void setseriesshape (INT series, shape) specifies the shape of the classification image (such as the point of the line chart)
Void setseriesstroke (INT series, stroke) specifies the stroke of a classification image (such as the line of a line chart)
abstractcategoryitemrenderer (abstractrenderer) Class:
Format of void setlabelgenerator (categorylabelgenerator generator) data label
void settooltipgenerator (categorytooltipgenerator generator) display format of mouse movement in Map
drilling link format in void setitemurlgenerator (categoryurlgenerator generator) Map
void setserieslabelgenerator (INT series, categorylabelgenerator generator) format of the data label of the specified category
void setseriestooltipgenerator (INT series, categorytooltipgenerator generator) specifies the display format for moving the cursor over the map of the classification
void setseriesitemurlgenerator (INT series, categoryurlgenerator generator) specifies the drilling link format in the map of the classification
Barrenderer (abstractcategoryitemrenderer) class:
Void setdrawbaroutline (Boolean draw) Whether to draw a graphic border
Void setitemmargin (double percent) interval between each bar
Void setmaxbarwidth (double percent) maximum width of each bar
Void setminimumbarlength (double min) is the shortest bar length, so that the value cannot be displayed because it is too small.
Void setpositiveitemlabelpositionfallback (itemlabelposition position) the position of a positive number label cannot be displayed in bar
Void setnegativeitemlabelpositionfallback (itemlabelposition position) The position of the negative tag that cannot be displayed in the bar
Barrenderer3d (barrenderer) class:
Void setwallpaint (paint) wall color of the 3D axis
Stackedbarrenderer (barrenderer) class:
No special settings
Stackedbarrenderer3d (barrenderer3d) class:
No special settings
Groupedstackedbarrenderer (stackedbarrenderer) class:
Void setseriestogroupmap (keytogroupmap map) maps the classification to several groups (keytogroupmap. mapkeytogroup (series, group ))
Layeredbarrenderer (barrenderer) class:
Void setseriesbarwidth (INT series, double width) is used to set the width of each category (do not overwrite a category)
Waterfallbarrenderer (barrenderer) class:
Void setfirstbarpaint (paint) color of the first bar chart
Void setlastbarpaint (paint) color of the last bar chart
Void setpositivebarpaint (paint) is the color of the bar chart.
Void setnegativebarpaint (paint) color of a negative bar chart
Intervalbarrenderer (barrenderer) class:
Intervalcategorydataset needs to be passed as the data source
Ganttbarrenderer (intervalbarrenderer) class:
Void setcompletepaint (paint) completion progress color
Void setincompletepaint (paint) Unfinished progress color
Void setstartpercent (double percent) is used to set the start position (0.0 ~ 1.0)
Void setendpercent (double percent) sets the end position (0.0 ~ 1.0)
Statisticbarrenderer (barrenderer) class:
Statisticcategorydataset needs to be passed as the data source
Lineandshaperenderer (abstractcategoryitemrenderer) class:
Void setdrawlines (Boolean draw) indicates whether a line is used to connect data points of a line.
Void setdrawshapes (Boolean draw) indicates whether to use different shapes for line data points based on classification.
Void setshapesfilled (Boolean filled) indicates whether to fill in data point graphics for all categories
Void setseriesshapesfilled (INT series, Boolean filled) specifies whether the category is filled with data point graphics
Void setusefillpaintforshapeoutline (Boolean use) Specifies whether to fill the data point painting is also used to draw the border of the data point shape
Levelrenderer (abstractcategoryitemrenderer) class:
Void setitemmargin (double percent) interval between each category
Void setmaxitemwidth (double percent) maximum width of each category
Categorysteprenderer (abstractcategoryitemrenderer) class:
Void setstagger (Boolean shouldstagger) whether the graphs of different types are staggered
Minmaxcategoryrenderer (abstractcategoryitemrenderer) class:
Void setdrawlines (Boolean drawlines) Whether to draw a connection line between each classification line
Void setgrouppaint (paint grouppaint) the color of a set of graphic connection lines
Void setgroupstroke (stroke groupstroke) a set of strokes on the graph connection line
Void setmaxicon (icon maxicon) maximum value icon
Void setminicon (icon minicon) Minimum icon
Void setobjecticon (icon objecticon) icon of all values
Arearender (abstractcategoryitemrenderer) class:
No special settings
Stackedarearender (arearender) class:
No special settings