Polar Sector
Polar Sector is a highlighter component that lives under Polar Chart. It can be used to highlight sectors in the polar coordinate system, specified by four values:
- start angle
- end angle
- start amplitude
- end amplitude

Adding a Sector
sector = chart.add_sector()
Configuring the Sector
# Limit between 3 and 7 units of amplitude
sector.set_amplitude_start(3).set_amplitude_end(7)
# Span angles 30°–120°
sector.set_angle_start(30).set_angle_end(120)
Fill Coloring
# Solid color fill:
sector.set_color('#FF0000')
# Remove any fill style:
sector.set_empty_color_fill()
# Per-value palette lookup:
sector.set_palette_coloring(
steps=[
{'value': 0, 'color': '#ADD8E6'},
{'value': 1, 'color': '#00008B'},
],
look_up_property='x',
interpolate=True,
percentage_values=True,
)
# With formatted legend display:
sector.set_palette_coloring(
steps=[
{'value': 0, 'color': '#0000FF'},
{'value': 100, 'color': '#FF0000'},
],
look_up_property='value',
formatter_precision=2, # Decimal places
formatter_unit='mag', # Unit suffix
formatter_scale=1.5, # Scale values
formatter_type='scientific', # 'standard', 'compact', 'engineering', 'scientific'
formatter_operation='floor', # 'none', 'round', 'ceil', 'floor'
)

Stroke Styling
Changing stroke color and thickness:
# Stroke width and color
sector.set_stroke(thickness=1.5, color='#333333')
Series Utility Methods
# Set a name for the sector (used in legend and tooltip)
sector.set_name("Sector")
# Highlight the series fully (1.0 = max highlight)
sector.set_highlight(1.0)
# Enable or disable theme-based visual effects
sector.set_effect(True)
# Toggle series visibility (False hides it from view)
sector.set_visible(True)
# Permanently remove the series from the chart
sector.dispose()
Legend
Please see common legend section.