Skip to content

Kandy 0.8.3 uses LETS_PLOT_JS_VERSION=4.5.1 when converting plot to HTML #506

@corneil

Description

@corneil

Describe the bug

Using toHTML to convert plot to HTML results in using 4.5.1 for kandy 0.8.3 which should be 4.7.3.

To Reproduce

Steps to reproduce the behavior:

  1. Create any simple plot
  2. Use toHTML to and save to html file
  3. View html in browser.
  4. Browser will remain blank
  5. Manually change generate file to use version 4.7.3 fixes

Expected behavior

HTML should use 4.7.3 to render html plots

Actual Behavior

HTML still using 4.5.1

Screenshots

Blank screen

Library Version, Tool version, and Environment

Kandy 0.8.3

+--- org.jetbrains.kotlinx:dataframe:1.0.0-Beta4 (n)
+--- org.jetbrains.kotlinx:dataframe-csv:1.0.0-Beta4 (n)
+--- org.jetbrains.kotlinx:dataframe-jdbc:1.0.0-Beta4 (n)
+--- org.jetbrains.kotlinx:dataframe-arrow:1.0.0-Beta4 (n)
+--- org.jetbrains.kotlinx:dataframe-excel:1.0.0-Beta4 (n)
+--- org.jetbrains.kotlinx:dataframe-geo:1.0.0-Beta4 (n)
+--- org.jetbrains.kotlinx:kotlin-statistics-jvm:0.8.3 (n)
+--- org.jetbrains.kotlinx:kandy-api:0.8.3 (n)
+--- org.jetbrains.kotlinx:kandy-lets-plot:0.8.3 (n)
+--- org.jetbrains.kotlinx:kandy-util:0.8.3 (n)
+--- org.jetbrains.lets-plot:lets-plot-common:4.7.3 (n)
+--- org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.11.2 (n)
+--- org.jetbrains.lets-plot:lets-plot-image-export:4.7.3 (n)
+--- org.jetbrains.lets-plot:lets-plot-kotlin-json:4.11.2 (n)

Additional information

File https://github.com/Kotlin/kandy/blob/main/kandy-lets-plot/src/main/kotlin/org/jetbrains/kotlinx/kandy/letsplot/internal/jsUtil.kt contains the hard-coded version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions