Skip to content

Chart descriptions do not work if Cytoscape.NET.Interactive is referenced simultaneously #425

Closed
@bvenn

Description

@bvenn

I have no clue if this belongs to Plotly.NET, Cytoscape.NET or both, but if you load both interactive references, ChartDescriptions do not work anymore.

#r "nuget: Plotly.NET, 4.2.0"
#r "nuget: Plotly.NET.Interactive, 4.2.1"
#r "nuget: Cytoscape.NET, 0.2.0"
#r "nuget: Cytoscape.NET.Interactive, 0.2.0"


open Plotly.NET
open Cytoscape.NET

Chart.Point([1,2])
|> Chart.withDescription [Giraffe.ViewEngine.HtmlElements.rawText "Hello"]
typecheck error This expression was expected to have type
'Giraffe.ViewEngine.HtmlElements.XmlNode (Giraffe.ViewEngine.StrongName, Version=2.0.0.0, Culture=neutral, PublicKeyToken=028aa8e2a326f4d0)'
but here has type
'Giraffe.ViewEngine.HtmlElements.XmlNode (Giraffe.ViewEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)'

For information, if you exclude the first Plotly.NET 4.2.0 reference, it works...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions