0

I'm currently developing Amchart chart and its reading form local database. I want a way to make the background grid lines above the graphs with

fillAlphas= 1?

You can try using this

Mad Physicist
  • 107,652
  • 25
  • 181
  • 264
Tamim
  • 13
  • 2

1 Answers1

1

You have to set gridAboveGraphs to true in your chart config.

AmCharts.makeChart("chartdiv", {
  // other config omitted
  "gridAboveGraphs": true,
  // ...
});

Demo

xorspark
  • 15,749
  • 2
  • 29
  • 38
  • Thanks , Is there a way to make the grid little bit darker? and for the horizontal also? – Tamim Apr 12 '17 at 06:33
  • Set the [valueAxis' `gridAlpha`](https://docs.amcharts.com/3/javascriptcharts/ValueAxis#gridAlpha) and [categoryAxis' `gridAlpha`](https://docs.amcharts.com/3/javascriptcharts/CategoryAxis#gridAlpha) to a larger value. By default they're set to a small decimal value, so anything closer to or equal to 1 will make it darker. I highly recommend looking through the documentation as it is very thorough. – xorspark Apr 12 '17 at 10:07