How do I rotate an arrow based on certain conditions in Canvas? I just want to integrate the CSS rotate function based on certain conditions. Can anyone suggest what functions we should use to rotate the axis?
Below is the code that can help you understand the rotation in general.
Thanks, @ppisljar, for your time and solution. I just wanted to let you know that I modified the code as per your suggestions, but I am getting an output as a table showing the first row with a negative number (only one negative number in the index sample data) in the same direction as the element added (arrow), and it's not rotated. Below is the code I modified for your reference.
Thank You @ppisljar for the solution, It Worked Just need to know few things
1]
As I am new to Canvas, I just want to know if less_than is a function because I didn't see this in the Canvas Reference Docs. Can I use "lt" instead of that?
[2] Will the previously stated arrow rotational solution apply to time series data as well?
less_than does not exist, its simply ignored as are all nonexistend function arguments ("0" as well)
if you would typoe less_than=0 it would complain about non existent argument
the condition in your if statement is supposed to return true or false.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.