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 request: tabular view #90

Open
bohdanszymanik opened this issue Sep 14, 2015 · 2 comments
Open

Feature request: tabular view #90

bohdanszymanik opened this issue Sep 14, 2015 · 2 comments

Comments

@bohdanszymanik
Copy link
Contributor

In using F# and FSharp Charting for data analysis there are many occasions when you want to have a quick tabular view of the data in combination with a chart. The interactive view is ok, but a tabular window would be useful - and especially a quick copy to the clipboard to enable paste into excel. It makes sense in terms of data visualisation - a tabular view is a specialised data view as are various chart types.

@tpetricek
Copy link
Member

I agree, having an option to quickly show a table in FsLab would be neat!

My preferred options for this would be to have it output HTML - that seems to be the only way to make this cross-platform and I'm generally in favor of using cross-platform solutions in FsLab. (That's why I'm also using XPlot a bit more than F# Charting recently).

I guess that if it produces HTML <table>, then Excel will be able to parse it when you copy & past.

I guess it could be added to XPlot or as a separate component to FsLab. If you were interested in contributing this, it sounds like the easiest option is to start by hacking things in FsLab.fsx here.

I like the idea of having a type that looks something like this:

type Table() = 
    static member Create(list:seq<'T>) = ..     
    static member Create(list:seq<#seq<'T>>) = ..     
    static member Create(list:Frame<'T>) = ..

Then you could write:

anything |> Table.Create

This would create some object that would be then handled by fsi.AddPrinter and it would open the table in the browser.

(In longer term, we'll figure out how to make these outputs embedded in VS/Atom!)

@bohdanszymanik
Copy link
Contributor Author

Ah - XPlot - I hadn't seen what has been happening with fslab. I'll start using it - I get the idea of the table type. I'll try out for the data I'm using - it's all performance related metrics from a big IT system. Cheers,

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

2 participants