Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Custom Chart with timestamp format #1470

Closed
unocelli opened this issue Nov 1, 2024 Discussed in #1458 · 4 comments
Closed

[FEATURE] Custom Chart with timestamp format #1470

unocelli opened this issue Nov 1, 2024 Discussed in #1458 · 4 comments
Labels

Comments

@unocelli
Copy link
Member

unocelli commented Nov 1, 2024

Discussed in #1458

Originally posted by timmpo October 27, 2024
i have tried to send coustom data to line chart, but have trouble to get time series axis to work,
when paramLines return x axis in unix-time (seconds) it plots the data but need some conversion to human readable format, i have tried to send timestamps in string format etc (2024/10/10-17:50) but it dont works.
what is the correct time format to send ?

working example of paramLines returning values, but need some human readable conversion:

 {
    id: 't_b070199c-92384f8b',
    name: 'chartDataPoint',
    device: 'FUXA Server',
    color: '#4484ef',
    label: 'chartDataPoint',
    yaxis: 1,
    x: [
      1730022583, 1730022593,
      1730022603, 1730022613,
      1730022623, 1730022633,
      1730022643, 1730022653,
      1730022663, 1730022673,
      1730022683, 1730022693,
      1730022703, 1730022713,
      1730022723, 1730022733,
      1730022743, 1730022753
    ],
    y: [
      93, 93, 78, 57, 37, 52, 49,
      16, 11, 35, 98, 39, 91, 55,
      53, 60, 66, 51
    ]
  }
]
``` </div>
@unocelli unocelli added the feature New feature label Nov 1, 2024
@unocelli
Copy link
Member Author

I'm working on this feature

@unocelli
Copy link
Member Author

Available in master branch

@unocelli
Copy link
Member Author

unocelli commented Nov 24, 2024

@unocelli
Copy link
Member Author

I’m going to close this as resolved. let me know if you have any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant