Make markers settings individual per line

parent 7309dfb2
......@@ -143,7 +143,7 @@ c3_chart_internal_fn.getDefaultConfig = function () {
grid_focus_show: true,
grid_lines_front: true,
// point - point of each data
point_show: true,
point_show: {},
point_r: 2.5,
point_focus_expand_enabled: true,
point_focus_expand_r: undefined,
......
......@@ -831,7 +831,7 @@ c3_chart_internal_fn.initialOpacityForCircle = function (d) {
return d.value !== null && this.withoutFadeIn[d.id] ? this.opacityForCircle(d) : 0;
};
c3_chart_internal_fn.opacityForCircle = function (d) {
var opacity = this.config.point_show ? 1 : 0;
var opacity = this.config.point_show[d.id] ? 1 : 0;
return isValue(d.value) ? (this.isScatterType(d) ? 0.5 : opacity) : 0;
};
c3_chart_internal_fn.opacityForText = function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment