Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Interactive Chart - Line Chart format different than Area Chart using DateTime on X-Axis

Anthony_A2
5 - Atom

 

I am getting different results in the Interactive Chart tool between Line and Area formatting. Area seems to work as intended but the Line chart doesn't format the path of the line correctly.

 

This is what I get when using the Area chart:

Anthony_A2_0-1646408428105.png

 

And when I switch to the Line chart, the path of the line changes:

Anthony_A2_1-1646408479301.png

 

Below is a sampled dataset that I'm using in this example. The first column is a FixedDecimal while the second column is DateTime

FixedDecimalCollection Date and Time
02021-12-20 13:55
02021-12-20 13:57
0.62021-12-20 14:33
0.92021-12-26 14:53
12021-12-26 14:52
1.32021-12-20 13:38
1.52021-12-30 15:58
1.52021-12-31 16:01
1.52021-12-31 16:02
1.62021-12-30 16:00
1.62022-01-03 10:49
1.62022-01-03 10:52
1.72021-12-21 14:09
1.72021-12-21 14:11
1.82021-12-20 16:05
1.82021-12-20 16:07

 

Does anyone have an idea why I'm experiencing this behavior? Or if there is a workaround with data types or etc,?

 

I would prefer to go with the line chart since I plan on adding on multiple layers and other details. 

1 REPLY 1
danilang
19 - Altair
19 - Altair

hi @Anthony_A2 

 

I was able to hack around this by converting collection date to a datetime field, sorting the data by collection date, adding the area layer, adding a second line layer and then deleting the the area layer.  

danilang_0-1646484493288.png

 

danilang_1-1646484527568.png

Leaving out any of the steps results in the inverted line that you found

 

It's an ugly hack and you should probably open a ticked 

 

Dan

Labels
Top Solution Authors