[ 2 posts ]

Mohamed Asik

  • Username: mail2asik
  • Joined: Sun Aug 01, 2010 1:27 am
  • Posts: 4
  • GitHub: mail2asik
  • Gists: mail2asik
  • IRC: Asik
  • Offline
  • Profile

Charts- Vertical grid line not appearing

Post Posted: Mon Mar 12, 2012 5:08 am
+0-
Dear All,

I have created bar chart with vertical grid line. but unfortunately, vertical grid line not appearing in chart output. Below is a code. Please advice!

Code:
var mychart = new Y.Chart({
          dataProvider: myDataValues,
          render: "#chartViewedStorefront",
         type:"bar",
         seriesCollection: [
            {   styles: {
                  fill: {
                     color: ["#E57627", "#77BB22", "#426AB3", "#8B008B", "#FFD700"]
                  }
               }
            }
         ],
         axes: {
            values: {
               styles: {
                  majorUnit: {
                     count: 5
                  }
               }
            }
         },
         verticalGridlines:true
      });

Tripp Bridges

YUI Developer

  • Username: tripp
  • Joined: Wed Jan 07, 2009 1:54 pm
  • Posts: 435
  • GitHub: tripp
  • Gists: tripp
  • YUI Developer
  • Offline
  • Profile

Re: Charts- Vertical grid line not appearing

Post Posted: Mon Mar 12, 2012 8:01 am
+0-
I tested you code with all available versions of charts and the vertical gridlines display with each. Could you post a link that reproduces the issue?

Thanks,
Tripp
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
cron