Skip to content

feature: timing diagram #2842

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

Closed
mojoaxel opened this issue Jul 25, 2018 · 6 comments
Closed

feature: timing diagram #2842

mojoaxel opened this issue Jul 25, 2018 · 6 comments
Labels
feature something new

Comments

@mojoaxel
Copy link
Contributor

mojoaxel commented Jul 25, 2018

This is a feature Request for a new chart type "Timing Diagram".

"A digital timing diagram is a representation of a set of signals in the time domain. A timing diagram can contain many rows, usually one of them being the clock. It is a tool that is commonly used in digital electronics, hardware debugging, and digital communications." - via wikipedia

image
image CC-BY-SA-3.0 based on image by garrett-mcclure via electronics.stackexchange.com

This chart type should support the following features:

  • x-axes: normal number but also timing-series.
  • y-axes can only have values false/true or 0/1.
  • The area underneath each "1" signal can be filled with a color (in red above).
  • every signal (y-axes) has a baseline (same as "0") (in green above).
  • It should be possible to use this chart-type as a subplot.
  • series can have different names, colors ...
@mojoaxel
Copy link
Contributor Author

@jackparmer Could you please add this chart-type to #2221

@alexcjohnson
Copy link
Collaborator

I’ve seen plenty of charts like this with some of the signals analog. Wouldn’t need to be included from the outset but we shouldn’t preclude it.

This could of course be created already using one subplot and one trace for each signal, but I can see the argument for making it a single trace: it would have better performance, much cleaner API, and the interactions could be tailored to this use case.

@etpinard
Copy link
Contributor

I'm thinking of merging all new trace type request like this one in #2221 until we start work on them.

Sounds ok @alexcjohnson ?

@mojoaxel
Copy link
Contributor Author

mojoaxel commented Jul 26, 2018

For everyone in need of this diagram-type:
I created a basic timing-diagram example using plotly.js:
image
Here is the running example: https://gistpreview.github.io/?827f08eb335f93ba16b46c9daa9d9779
The source can also be found here: https://gist.github.com/mojoaxel/827f08eb335f93ba16b46c9daa9d9779

@etpinard
Copy link
Contributor

Now listed under: type: new trace type

@gvwilson
Copy link
Contributor

Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson

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

No branches or pull requests

4 participants