Graph not showing

i want a graph whiich look like this Screenshot 2021-09-15 120019
so in above image there is two line which one is blue and other is pink but in other screen it is showing like image
and i have done the mapping correct


image

please help me how to fix this

Are you sure you have done the mapping correctly? Why is your supposed to be blue line showing in pink?

And why are your columns not given a name?

after fiving column name it will work??

*giving

No it wonā€™t, Iā€™m just asking why donā€™t you give your column names to manage it better? Thereā€™s a chance you may miss something if you donā€™t give them names, especially with a structure requiring so much data like this.

i checked thrice it is mapped correctly i am facing this issue from 2 sep can you please help

I would plug that template into Quickchartā€™s sandbox, replace the values manually there, then check the resulting graph to make sure it is completely true.

Your way of doing it here is not what I usually do. I usually have just the configurations part in the template, the URL construction part should be done in a construct URL column.

1 Like

oh, myā€¦

Are you really using 100+ unnamed columns as your data source?
Thatā€™s going to be an absolute nightmare to maintain. What will happen when you need to add more data points? More columns?

The one big thing that screams at me when I look at that is that your data should be in rows - not in columns. Then instead of 100 or more replacement values, you would just have one: which would be a joined list of all rows.

Just to give you an example, I do lots of charts like this. Here is what my template column typically looks like:

In the above template, I have just 3 replacement values:

  • {labels}: a joined list of the chart labels (x-axis)
  • {supply-data}: a joined list of values for my first set of data points
  • {box-data}: a joined list of values for my second set of data points

The resultant chart looks like this:

The important point that Iā€™m trying to make here is that it doesnā€™t matter if I have 10 data points in the chart, or 1000 data points - there will always be just 3 replacement values in the template.

1 Like

One thing that Iā€™m noticing is a lot of hanging commas. Thereā€™s a lot is places where the list of attributes end, but there is another comma, like itā€™s expecting another attribute. Hard to say if thatā€™s the problem though. The only way I would be able to tell is if you copied and pasted the full text of the resulting template here in the forum. Itā€™s hard to determine for sure with just a screenshot.

1 Like