The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Why is all data summarized by year in my chart?

Torkil Sinkaberg Johnsen
April 2, 2020

I hope someone can help me understand why the Chart from Table macro summarizes year on the X-axis, instead of showing all dates.

I have the following table. It goes from 2019-01-01 to 2019-12-31, and the "Sheep" value from 1 to 365. Obviously just test data to see if I can get a linear line graph showing. Here are the first 10 lines: 

table.PNG

But my graph just looks like this, with a single point where all the days are summarized:

graph.PNGHow can I display a graph with all 365 data points? I don't get it... :)

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 2, 2020

Hello @Torkil Sinkaberg Johnsen,

Please, switch the chart type from Line to Time Line and then set date format to yy-mm-dd.

Torkil Sinkaberg Johnsen
April 2, 2020

My god... That easy eh? YOU ARE A LIFESAVER! Thanks Andrey!

Like • Andrey Khaneev _StiltSoft_ likes this
Torkil Sinkaberg Johnsen
April 2, 2020

@Andrey Khaneev _StiltSoft_ do you know where I can find the documentation for those date formats?

Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 2, 2020

Here are the docs.

Ans if you use the /dateMacro (entered with a slash), then you do not need to take care of the format - the chart will detect it automatically.

Like • Torkil Sinkaberg Johnsen likes this
Torkil Sinkaberg Johnsen
April 2, 2020

I could get this to work with normal dates, but not with data that only has week numbers, like 2019-01, 2019-02 etc.

Tried both the yy-ww and yy-w formats, but the format is not recognized it says :( 

graph_week.PNG

Any ideas on this one?

Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 2, 2020

Support for weeks in dates was added in version 5.1.0

If you click What's new, then you'll see what version you are on:

2020-04-02_13h54_59.png

Like • Torkil Sinkaberg Johnsen likes this
TAGS
AUG Leaders

Atlassian Community Events