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

Table view for two dimensional data #69

Closed
ashleydavis opened this issue Dec 2, 2015 · 7 comments
Closed

Table view for two dimensional data #69

ashleydavis opened this issue Dec 2, 2015 · 7 comments

Comments

@ashleydavis
Copy link

I like to implement a toString function for each my custom types, to be used to debug print the contents.

Does Mancy support, or are there any plans to support, implicit use of toString when outputting objects on the console?

@ashleydavis ashleydavis changed the title Does Mancy have any special support for the toString function? Does Mancy have any special support for the toString function? Dec 2, 2015
@princejwesley
Copy link
Owner

@ashleydavis No plan for implicit toString output display. Current behaviour is consistent with chrome console output.

@ashleydavis
Copy link
Author

Is there any way to customize the output for particular types/objects?

I noticed you can display graphs. Is there a way to make plugins for custom output?

@princejwesley
Copy link
Owner

@ashleydavis As of now, we don't have support for plugins. Do you want to see only the textual representation of custom object or the tree view as well?

@ashleydavis
Copy link
Author

Have you seen IPython notebook and Pandas?

You can see it in this video: https://www.youtube.com/watch?v=rEalbu8UGeo

Start watching at 9 minutes to see how it renders data frames and plots graphs.

I'm building data-forge which is a data transformation and analysis toolkit for JavaScript inspired by Pandas. I want data-forge to work with Mancy the way that Pandas works with IPython notebook.

So I want to be able to render a data frame as a table in Mancy. But if you add support for custom/plugin visualisers then I could implement this myself.

I might be able to find time to help out on Mancy if you need more people working on it.

@princejwesley
Copy link
Owner

@ashleydavis I'll either add support for customized output plugin or customize your data frames exclusively. I'll get back to you. 👍

@princejwesley princejwesley changed the title Does Mancy have any special support for the toString function? Customized output support Dec 2, 2015
@princejwesley princejwesley added this to the v2.2 milestone Dec 2, 2015
@princejwesley
Copy link
Owner

@ashleydavis I don't think we need customizable output plugin. All we need is a way to represent 2D data as table. Its easy to deduce 2D form and show as table.

@princejwesley princejwesley changed the title Customized output support Table view for two dimensional data Dec 2, 2015
@ashleydavis
Copy link
Author

Sounds good. I'm still working on making data-forge easy to use from Mancy. When it's further advanced I'll yet you know so you can try it out.

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