Add custom class for additional circle marker for styling

master
Ken Ip 2015-08-27 09:58:52 -04:00
parent 308c1a5049
commit d4c0c691f2
2 changed files with 3 additions and 1 deletions

View File

@ -47,6 +47,7 @@
// Add a ring around the data point
chart._tooltipGroup.append("circle")
.attr("class", "dimple-line-marker-circle " + chart.customClassList.lineMarkerCircle)
.attr("cx", cx)
.attr("cy", cy)
.attr("r", r)

View File

@ -10,6 +10,7 @@
tooltipLabel: 'dimple-custom-tooltip-label',
tooltipDropLine: 'dimple-custom-tooltip-dropline',
lineMarker: 'dimple-custom-line-marker',
lineMarkerCircle: 'dimple-custom-line-marker-circle',
legendLabel: 'dimple-custom-legend-label',
legendKey: 'dimple-custom-legend-key',
areaSeries: 'dimple-custom-series-area',
@ -30,4 +31,4 @@
'dimple-custom-format-9',
'dimple-custom-format-10'
]
};
};