I suggest you ...

Add in a method to get the serialized JSON of the chart without HTML or JS

Build in a method to get the serialized JSON of the chart itself with no HTML or JavaScript around. It could be called "ToJson" and place it on the Highcharts class, but that just as a proposition.

1 vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Kacper Madej shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Kacper Madej commented  ·   ·  Flag as inappropriate

        ToJson should be included since version 6.0.6500.22268 of .NET Highcharts, as well as GetJsonOptions in HighsoftNamespace class. Also see `GetHighcharts` and `GetHighchartsJS` that could be used with HTML helper like `@Html.Highsoft().GetJsonOptions(new Highcharts() { ... })`

      • AdminTorstein Hønsi (CPO, Founder, Highcharts JS) commented  ·   ·  Flag as inappropriate

        Do you mean the current configuration? We've got functionality for that in the export module, but it is not cleanly available as an API call. It is part of the getSVG function, but could probably easily be separated out as a function. It is the options that are fed to create the chartCopy.

      Feedback and Knowledge Base