Giter VIP home page Giter VIP logo

fsplot's People

Contributors

isaacabraham avatar tahahachana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fsplot's Issues

cannot get automation extension

Running the following code:

#load ".../FsPlot.0.6.6/FsPlotBootstrap.fsx"
open FsPlot.Google.Charting
let sales = ["2010", 1300; "2011", 1470; "2012", 740; "2013", 1330]
let expenses = ["2010", 1000; "2011", 1170; "2012", 560; "2013", 1030]
let chart = [sales; expenses] |> Chart.Spline |> Chart.WithNames ["Sales"; "Expenses"] |> Chart.WithTitle "Company Performance" |> Chart.WithXTitle "Year" |> Chart.WithLegend true

yields the following error/exception:

Starting ChromeDriver 2.12.301325 (962dea43ddd90e7e4224a03fa3c36a421281abb7) on port 53919 Only local connections are allowed. System.InvalidOperationException: unknown error: cannot get automation extension from unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"(F97776F2A8B40299F899C02DD54DF38E)","isDefault":true},"id":1,"name":"","origin":"chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb"}

Support for exposing chart HTML through code

You can currently expose a chart via a static PNG or by taking the HTML generated from a chart. It would be good if you could take the HTML directly from a chart without opening/closing it; this would then allow you to e.g. expose charts directly in a website or somehow else in a running application (rather than through a script).

No bootstrap script added to console app project in VS 2015

I have an F# 4.0 console app project in VS 2015 preview. Added FsPlot 0.6.6 via GUI NuGet wizard.

I do not see any .fsx scripts added to my project, as documented here.

Not sure if this is out-of-date docs, a bug in the package, or if I'm doing something wrong.

image

Need help running the samples

I'm going through the samples. Trying to create a basicArea chart. I get a blank window. Could you help me troubleshoot the issue?

Problem installing Nuget Package

I am trying to go through the examples so first tried to install the Nuget Package but it is coming up with "Operation Failed". The installation log seems to end with "External packages cannot depend on packages that target projects."

Any help would be much appreciated.

The full log trace is below:

Attempting to resolve dependency 'FunScript.TypeScript.Binding.jquery (= 1.1.0.37)'.
Attempting to resolve dependency 'FunScript.TypeScript.Binding.lib (≥ 1.1.0.37)'.
Attempting to resolve dependency 'FunScript (= 1.1.50)'.
Attempting to resolve dependency 'FunScript.TypeScript.Binding.highcharts (= 1.1.0.37)'.
Attempting to resolve dependency 'FunScript.TypeScript.Binding.signalr (= 1.1.0.37)'.
Attempting to resolve dependency 'FunScript.TypeScript.Binding.gapi (= 1.1.0.37)'.
Attempting to resolve dependency 'FunScript.TypeScript.Binding.google_visualization (= 1.1.0.37)'.
Attempting to resolve dependency 'Microsoft.AspNet.Cors (= 5.1.0)'.
Attempting to resolve dependency 'Microsoft.AspNet.SignalR.Core (= 2.0.2)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 5.0.0)'.
Attempting to resolve dependency 'Owin (≥ 1.0)'.
Attempting to resolve dependency 'Microsoft.Owin (≥ 2.0.0)'.
Attempting to resolve dependency 'Microsoft.Owin.Security (≥ 2.0.0)'.
Attempting to resolve dependency 'Microsoft.AspNet.SignalR.JS (= 2.0.2)'.
Attempting to resolve dependency 'jQuery (≥ 1.6.4)'.
Attempting to resolve dependency 'Microsoft.Owin (= 2.1.0)'.
Attempting to resolve dependency 'Microsoft.Owin.Cors (= 2.1.0)'.
Attempting to resolve dependency 'Microsoft.Owin.Diagnostics (= 2.1.0)'.
Attempting to resolve dependency 'Microsoft.Owin.Host.HttpListener (= 2.1.0)'.
Attempting to resolve dependency 'Microsoft.Owin.Host.SystemWeb (= 2.1.0)'.
Attempting to resolve dependency 'Microsoft.Owin.Hosting (= 2.1.0)'.
Attempting to resolve dependency 'Microsoft.Owin.Security (= 2.1.0)'.
Attempting to resolve dependency 'Microsoft.Owin.SelfHost (= 2.1.0)'.
External packages cannot depend on packages that target projects.

FsPlot in compiled project

Is it possible to use FsPlot (in particular Highcharts Dynamic Charts) in a compiled project ?

I did a test including the path to chromedriver.exe at the beginning of my code :

let chromePath = System.IO.Path.Combine(__SOURCE_DIRECTORY__, "../../packages/FsPlot/Tools/")
FsPlot.Settings.FSPlotSettings.chromeDriverDirectory <- chromePath

But it failed with a :

Starting ChromeDriver 2.12.301325 (962dea43ddd90e7e4224a03fa3c36a421281abb7) on port 40146
Only local connections are allowed.
[0.006][SEVERE]: bind() returned an error: Error (0x13D) while retrieving error. (0x2740)
[0.007][WARNING]: Unknown error 10038 mapped to net::ERR_FAILED
[0.007][SEVERE]: Accept error: rv=-2
[0.007][WARNING]: Unknown error 10038 mapped to net::ERR_FAILED
Port not available. Exiting...

I don't know if it is relevant but I am using mono on a Ubuntu and the first run of the driver seemed to start wine by itself (I checked, the driver appears to function on my computeur).

XML Documentation

There are no XML comments on any functions etc.; I know that there are lots of good examples on the website, but adding this would mean that many use cases for needing documentation could be solved at source directly in e.g. Visual Studio.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.