Chart - Markers¶
A marker is a small geometric shape that explicitly indicates a data point position on a line-oriented chart. Line, XY, and Radar are the line-oriented charts. Other chart types do not have markers.
PowerPoint behavior¶
At series level, UI provides property controls for:
Marker Fill
Solid
Gradient
Picture or Texture
Pattern
Marker Line
Solid
RGBColor (probably HSB too, etc.)
Transparency
Gradient
Weights & Arrows
Marker Style
Choice of enumerated shapes
Size
XL_MARKER_STYLE enumeration¶
https://msdn.microsoft.com/en-us/library/bb241374(v=office.12).aspx
xlMarkerStyleAutomatic |
-4105 |
Automatic markers |
xlMarkerStyleCircle |
8 |
Circular markers |
xlMarkerStyleDash |
-4115 |
Long bar markers |
xlMarkerStyleDiamond |
2 |
Diamond-shaped markers |
xlMarkerStyleDot |
-4118 |
Short bar markers |
xlMarkerStyleNone |
-4142 |
No markers |
xlMarkerStylePicture |
-4147 |
Picture markers |
xlMarkerStylePlus |
9 |
Square markers with a plus sign |
xlMarkerStyleSquare |
1 |
Square markers |
xlMarkerStyleStar |
5 |
Square markers with an asterisk |
xlMarkerStyleTriangle |
3 |
Triangular markers |
xlMarkerStyleX |
-4168 |
Square markers with an X |
XML specimens¶
Marker properties set at the series level, all markers for the series:
<c:ser>
<!-- ... -->
<c:marker>
<c:spPr>
<a:solidFill>
<a:schemeClr val="accent4">
<a:lumMod val="60000"/>
<a:lumOff val="40000"/>
</a:schemeClr>
</a:solidFill>
<a:ln>
<a:solidFill>
<a:schemeClr val="accent6">
<a:alpha val="51000"/>
</a:schemeClr>
</a:solidFill>
</a:ln>
</c:spPr>
</c:marker>
<!-- ... -->
</c:ser>
Marker properties set on an individual point:
<c:ser>
<!-- ... -->
<c:dPt>
<c:idx val="0"/>
<c:marker>
<c:symbol val="circle"/>
<c:size val="16"/>
<c:spPr>
<a:gradFill flip="none" rotWithShape="1">
<a:gsLst>
<a:gs pos="0">
<a:schemeClr val="accent2"/>
</a:gs>
<a:gs pos="80000">
<a:srgbClr val="FFFFFF">
<a:alpha val="61000"/>
</a:srgbClr>
</a:gs>
</a:gsLst>
<a:path path="circle">
<a:fillToRect l="50000" t="50000" r="50000" b="50000"/>
</a:path>
<a:tileRect/>
</a:gradFill>
<a:ln w="12700">
<a:solidFill>
<a:schemeClr val="accent6"/>
</a:solidFill>
<a:prstDash val="sysDot"/>
</a:ln>
<a:effectLst>
<a:outerShdw blurRad="50800" dist="38100" dir="14160000" algn="tl" rotWithShape="0">
<a:schemeClr val="accent6">
<a:lumMod val="75000"/>
<a:alpha val="43000"/>
</a:schemeClr>
</a:outerShdw>
</a:effectLst>
</c:spPr>
</c:marker>
<c:bubble3D val="0"/>
<c:spPr>
<a:effectLst>
<a:outerShdw blurRad="50800" dist="38100" dir="14160000" algn="tl" rotWithShape="0">
<a:schemeClr val="accent6">
<a:lumMod val="75000"/>
<a:alpha val="43000"/>
</a:schemeClr>
</a:outerShdw>
</a:effectLst>
</c:spPr>
</c:dPt>
<!-- ... -->
</c:ser>