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

Is it possible to use Horizon Chart as a row? [FeatureRequest] #288

Open
OlegJakushkin opened this issue Mar 27, 2020 · 2 comments
Open

Comments

@OlegJakushkin
Copy link

OlegJakushkin commented Mar 27, 2020

Horizon Chart (with source code) seems like a perfect addition to wavedrom capable to represent math functions and arbitrary data values. I wonder is it possible and how one can add a custom row renderer to wavedrom?

So what I would like to see
image

And in terms of JSON, it would be something like

{ signal: [
  { name: "func", wave: 'f.f(t){/*js code returning a float value*/ return Math.random() * t }' },
  { name: "vals", wave: 'v.x.345x', data: ["90", "300", "120"]  },
]}

But I focus primarily on heaving at least JS accessible renderer...
So is such thing possible and how one would do it?

@drom
Copy link
Member

drom commented Mar 29, 2020

Well, at this point, WaveJson is just a data structure. And different tools, written in different languages JS, Python, Ruby, etc. can consume or produce it. Adding JS callback would definitely be a hostile move. Also, I am trying to imagine how "Horizon Chart" would be useful to Chip-Designer audience? There is a long-standing request on having "Analog" waves #189 #68 that might be related?

@OlegJakushkin
Copy link
Author

Yes, it is in general alike what I want, rendering approaches do not matter.

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

No branches or pull requests

2 participants