Leon
Leon

Reputation: 1136

how to add dashed border on highcharts "area" graph for every point

I have a highcharts "area" graph, and for every point on that graph i want to add a dashed border on the colored area all the way to the bottom.

enter image description here

Upvotes: 1

Views: 2120

Answers (1)

Gopinagh.R
Gopinagh.R

Reputation: 4916

To add dashed borders to your area graph, mention the dashstyle in which each series will be represented in.

Sample Snippet

        Series:[{
            name: 'USA',
            data: [null, null, 10421, 10358, 10295, 10104 ],
            dashStyle: 'longdash'
        }]

Possible Values

  • Solid
  • ShortDash
  • ShortDot
  • ShortDashDot
  • ShortDashDotDot
  • Dot
  • Dash
  • LongDash
  • DashDot
  • LongDashDot
  • LongDashDotDot

Demo

Jsfiddle is here.

Upvotes: 3

Related Questions