iJade
iJade

Reputation: 23811

Amchart bullet round not working in Stock Chart

I have added the bullet: "round" property to Stock graph but it doesn't show up for all stock graphs.

Here is a demo

Upvotes: 0

Views: 167

Answers (1)

xorspark
xorspark

Reputation: 16012

When you're using multiple dataSets, you also have to set the equivalent compareGraph*-named properties to achieve the same visuals as the main/first dataSet that's using the regular graph properties. In your case, you have to set compareGraphBullet to "round" in the second panel's stockGraph:

stockGraphs: [{
    id: "g2",
    valueField: "value2",
    compareField: "value2",
    comparable: true,
    bullet: "round",
    compareGraphBullet: "round",
}]

Updated codepen

Upvotes: 1

Related Questions