KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Solutions KX Dashboards – Dynamically update Type of X-Axis (Number/DateTime) and using Min/Max values Re: KX Dashboards – Dynamically update Type of X-Axis (Number/DateTime) and using Min/Max values

  • dfallon

    Member
    July 20, 2021 at 12:00 am

    Hi SK,

    Here is an example format with the sample data set; try this with your time data column and map the outputs to your view states:

     

    mint: exec min time from dfxQuote; 
    maxt: exec max time from dfxQuote; 
    buffer: "n"$((maxt-mint) * 0.01); 
    `min`max`buffer`bufferMin`bufferMax!(mint;maxt;buffer; mint-buffer; maxt+ buffer)

     

    Thanks,

    Declan