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

OpenersNotesSection(Spacer1)Details

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

(RefLink[GaugeFrameElementFunction, paclet:ref/GaugeFrameElementFunction])->"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","Frame"], etc.

In (RefLink[GaugeFrameElementFunction, paclet:ref/GaugeFrameElementFunction])->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","Frame"]

AngularGauge[5.5,{0,10},GaugeFrameStyle->Blue,GaugeFrameElementFunction->"GlassSector"]

ChartElementData["VerticalGauge","Frame"]

VerticalGauge[5.5,{0,10},GaugeFrameStyle->Blue,GaugeFrameElementFunction->"FadingRectangle"]

Construct a custom rendering function:

f[{{tmin_,tmax_},{rmin_,rmax_}},___]:=Module[{inpts,outpts},
inpts=Array[rmin{Cos[2π #/100],Sin[2π #/100]}&,100];
outpts=Array[rmax{Cos[2π #/100],Sin[2π #/100]}&,100];
{EdgeForm[Directive[Thick,Darker@Gray]],Gray,FilledCurve[{{Line[inpts]},{Line[outpts]}}]}]

AngularGauge[5.5,{0,10},GaugeFrameElementFunction->f]

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

VerticalGauge[5.5,{0,10},GaugeFrameElementFunction->g]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[GaugeFrameStyle, paclet:ref/GaugeFrameStyle])  ▪  (RefLink[GaugeFaceElementFunction, paclet:ref/GaugeFaceElementFunction])  ▪  (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])}})}})