Miscellaneous
Axis
StatisticalGraphics.Axis — TypeAxis(args...)Represent an Axis with given arguments.
Keyword arguments
Scale information
exponent: Whentype=:power, this will be used to pass the exponent.type: The scale to be used for the axis, e.g.:linear,:point,:band,:time,:date,:log,:symlog,:sqrt,:power,... default::linear
Axis options
d3format: Allow users to directly pass an axis format. It must follow the rules described ind3.format().d3formattype: If values are time or date, this option can be used to control their format.dropmissing: Whentruedrops missings from discrete type axis domain. default:falsenice: Automatically round axis domain to make it nice. default:trueoffset: The value to offset the axis. default:1order: Determine how to order ticks for discrete types axis, e.g.:data,:ascending,:descending. default::datapadding: Padding to extend axis. For discrete type axis it should be between 0 and 1, and for other type it indicates the amount in pixel.range: Allow to manually set the domain of the axis.reverse: Reverse the order of ticks. default:falseshow: When it isfalse,domain,title,ticks,labelsare set tofalse. default:truevalues: User can use the keyword argument to manually put ticks. When a tuple of vector is passed, the first element will be used for the location and the second one will be used as displayed values.
Grids
grid: Determine if the grids are shown. default:falsegridcolor: The default color for the mark. User can pass color's name as symbol (e.g.:red), as string (e.g."red"), as HTML color value (e.g."#4682b4"). default::lightgraygriddash: Grids dash style. default:[0]gridthickness: Grids tickness. default:0.5
Axis appearance
color: The default color for the mark. User can pass color's name as symbol (e.g.:red), as string (e.g."red"), as HTML color value (e.g."#4682b4"). default::blackfont: The default font that will be used for all elements of the axis.fontweight: The default font weight that will be used for all elements of the axis.italic: The default font style that will be used for all elements of the axis.
Domain properties
domain: Iffalsethe domain line would not be shown. default:truedomaincolor: The default color for the mark. User can pass color's name as symbol (e.g.:red), as string (e.g."red"), as HTML color value (e.g."#4682b4").domaindash: The domain line dash. default:[0]domainthickness: The domain line thickness. default:1.01
Ticks properties
tickcolor: The default color for the mark. User can pass color's name as symbol (e.g.:red), as string (e.g."red"), as HTML color value (e.g."#4682b4").tickcount: Number of ticks.tickdash: Ticks dash style. default:[0]ticks: Iffalsethe ticks will not be shown. default:trueticksize: Ticks size in pixel. default:5tickthickness: Tickness of ticks in pixel. default:1.01
Title properties
title: Axis title.titlealign: The text alignment.titleangle: The text angle.titlebaseline: The text baseline.titlecolor: The text color.titlefont: The font name for displaying text.titlefontweight: The font weight for displaying text, use 100 for thin font and 900 for the bold one.titleitalic: Iftruethe italic style will be used for displaying text.titleloc: Title location, i.e.:middle,:end,:start. default::middletitlepadding: Title padding.titlepos: Title position in the form of [x,y].titlesize: The font size for displaying text.
Labels properties
align: The text alignment.angle: The text angle. default:0baseline: The text baseline.labelcolor: The text color.labelfont: The font name for displaying text.labelfontweight: The font weight for displaying text, use 100 for thin font and 900 for the bold one.labelitalic: Iftruethe italic style will be used for displaying text.labeloverlap: Iftrue, avoids overlapping of labels. default:truelabelpadding: The extra padding between labels and ticks.labelsize: The font size for displaying text.showlabels: Iffalsethe axis labels will not be shown. default:true
Miscellaneous
translate: The translate amount of the axis, seevegadocumentations for more information.zindex: If1puts the axis elements on top of other marks in the graph. default:0
Legend
StatisticalGraphics.Legend — TypeLegend(args...)Represent a Legend with given arguments.
Keyword arguments
Legend identity
name: The legend id which refers to a legend id of a plot.
Legend options
d3format: Allow users to directly pass a legend format. It must follow the rules described ind3.format().d3formattype: If values are time or date, this option can be used to control their format.limit: The number of elements to be shown in the legend.values: Allow user manually provide the values for the legend.
Legend appearance
columns: The number of columns to be used to show the legend elements. default:1columnspace: The space between columns. default:1direction: The direction of the legend. default::verticalfont: The default font that will be used for all elements of the legend.fontweight: The default font weight that will be used for all elements of the legend.gradientlength: Control the size of a gradient type legend.gradientthickness: Control the size of a gradient type legend (width).gridalign: Control how to align multiple legends. default::eachitalic: The default font style that will be used for all elements of the legend.orient: The location of the legend. User can pass[legendX, legendY]for a precise location. default::rightrowspace: The space between rows. default:1size: The legend element size. default:100symbol: Indicate the symbol for discrete type legends.
Title properties
title: Legend title.titlefont: The font name for displaying text.titlefontweight: The font weight for displaying text, use 100 for thin font and 900 for the bold one.titleitalic: Iftruethe italic style will be used for displaying text.titlesize: The font size for displaying text.
Labels properties
labelfont: The font name for displaying text.labelfontweight: The font weight for displaying text, use 100 for thin font and 900 for the bold one.labelitalic: Iftruethe italic style will be used for displaying text.labelsize: The font size for displaying text.