Giter VIP home page Giter VIP logo

Comments (3)

joadan avatar joadan commented on June 10, 2024 1

please check this sample to pass extra data to javascript
https://apexcharts.github.io/Blazor-ApexCharts/features/formatters#pass%20extra%20data

from blazor-apexcharts.

joadan avatar joadan commented on June 10, 2024

Hi

This is because for custom tooltips we use the OnPointEnterEvent to trigger a tooltip generation and for that we need markers.
If that is not acceptable please use the javascript tooltip instead.
Some more info here, #426 (comment)

from blazor-apexcharts.

LewxX avatar LewxX commented on June 10, 2024

I want to display some additional info for the current dataPoint in the tooltip, but that info is neither the X or Y data.
The problem is that I cannot access the fully underlying dotnet model on JS side,
without adding some manual JS interop calls and even then it would be a bit ugly.
So the dotnet render fragment was ideal.

But I guess, I'll try the JS approach, which i guess will then return an div with a pending interop call and will then late update the tooltip with the actual content once the interop call has finished. Or is there a better alternative, so Archive something like that?

from blazor-apexcharts.

Related Issues (20)

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.