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

Single Stat and columns name #746

Open
jeromeLB opened this issue Mar 16, 2022 · 0 comments
Open

Single Stat and columns name #746

jeromeLB opened this issue Mar 16, 2022 · 0 comments

Comments

@jeromeLB
Copy link

jeromeLB commented Mar 16, 2022

For a type: 'single stat', when you add columns without standard names _time and _value, the graph displays the message No latest value found.

const table = Giraffe.newTable(3)
   .addColumn('MyTimestamp', 'dateTime:RFC3339', 'time', [1589838401244, 1589838461244, 1589838521244])
   .addColumn('Myvalues', 'double', 'number', [2.58, 7.11, 4.79])

This is useful for Single stat on top of Line Layer for example to have custom legends
Is it possible to add 'x' and 'y' in layer SingleStatLayerConfig ?

@jeromeLB jeromeLB changed the title Single Stat and columns Single Stat and columns name Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant