Hi, I have a dataframe with columns: date, y1, p1 . p1 is based on y1, it is a determination of y1’s direction (if y1 is going up, down or sideways). When I plot fig=px.line(df, x=‘Date’,y=‘p1’), I get a normal one color chart.
When I try fig=px.line(df, x=‘Date’,y=‘y1’,facet_col=‘p1’) or fig=px.line(df, x=‘Date’,y=‘t1’,color=‘t1dr’) it subdivides the chart into three different regions based on ‘p1’. This messes up the date order.
I want the date order to remain the same just the color to change to see how well my determination of y1’s direction is, is this possible