Select to view content in your preferred language

How to resize a chart?

920
2
Jump to solution
10-13-2014 08:00 AM
williamcarr
Frequent Contributor

Greetings,

I am working with the  chart samples, Popup | ArcGIS API for JavaScript , and cannot  for the life of me resize the chart. I can get the window to resize with the good ol' popup.resize(900,900);, but the chart content inside remains the same. Any help would be very much appreciated.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
JakeSkinner
Esri Esteemed Contributor

Hi William,

You can use the following CSS to do this:

.esriViewPopup .gallery .frame div.chart {

          width: 200px;

          height: 200px;

        }

View solution in original post

0 Kudos
2 Replies
JakeSkinner
Esri Esteemed Contributor

Hi William,

You can use the following CSS to do this:

.esriViewPopup .gallery .frame div.chart {

          width: 200px;

          height: 200px;

        }

0 Kudos
williamcarr
Frequent Contributor

Winner winner chicken dinner!

Thanks, Jake!

0 Kudos