({{, (RefLink[GaugeFaceElementFunction, paclet:ref/GaugeFaceElementFunction]) 
is an option for gauge functions that gives a function to use to generate the primitives for rendering the gauge face.}})

OpenersNotesSection(Spacer1)Details

(RefLink[GaugeFaceElementFunction, paclet:ref/GaugeFaceElementFunction])->f specifies that the gauge face element should be rendered with the graphics primitives given by f[region,values].

(RefLink[GaugeFaceElementFunction, paclet:ref/GaugeFaceElementFunction])->"name" uses a named function for generating chart elements.

Lists of built-in named functions for specific charting functions can be obtained from ChartElementData["AngularGauge","Face"], etc.

In (RefLink[GaugeFaceElementFunction, paclet:ref/GaugeFaceElementFunction])->f, the region argument to f is given as follows:

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Use a built-in (RefLink[ChartElementFunction, paclet:ref/ChartElementFunction]):

ChartElementData["AngularGauge","Face"]

AngularGauge[5.5,{0,10},GaugeFrameStyle->None,GaugeFaceElementFunction->"PlateauSector"]

ChartElementData["VerticalGauge","Face"]

VerticalGauge[5.5,{0,10},GaugeFaceStyle->LightBlue,GaugeFaceElementFunction->"GlassRectangle"]

Write a custom (RefLink[GaugeFaceElementFunction, paclet:ref/GaugeFaceElementFunction]):

f[{{θ1_,θ2_},{r1_,r2_}},__]:=First[ParametricPlot[(Max[r,0.5+0.45Abs[Cos[θ^1.3]]Sin[16θ]]){ Cos[θ],Sin[θ]},{θ,θ1,θ2},{r,r1,r2},Mesh->None,PlotStyle->Directive[Opacity[1],LightGray],BoundaryStyle->Gray]]

AngularGauge[42,{0,100},GaugeFrameStyle->None,GaugeFaceElementFunction->f]

g[{{xmin_,xmax_},{ymin_,ymax_}},___]:={LightOrange,Rectangle[{xmin,ymin},{xmax,ymax},RoundingRadius->.15]}

VerticalGauge[42,{0,100},GaugeFaceElementFunction->g]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[GaugeFaceStyle, paclet:ref/GaugeFaceStyle])  ▪  (RefLink[GaugeFrameElementFunction, paclet:ref/GaugeFrameElementFunction])  ▪  (RefLink[GaugeMarkers, paclet:ref/GaugeMarkers])  ▪  (RefLink[AngularGauge, paclet:ref/AngularGauge])  ▪  (RefLink[HorizontalGauge, paclet:ref/HorizontalGauge])  ▪  (RefLink[VerticalGauge, paclet:ref/VerticalGauge])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Gauges, paclet:guide/Gauges])}})}})