Giter VIP home page Giter VIP logo

Comments (4)

Domivan avatar Domivan commented on June 12, 2024

I discovered that the problem is related to the presence of the ApexPointTooltip tag
If you override tooltips on a chart, it will always render with markers whether you want it to or not.
And then the performance of Brush Chart drops.

from blazor-apexcharts.

joadan avatar joadan commented on June 12, 2024

Hi,

My understanding is that markers are required for a line chart in order to have a custom tooltip in apexcharts.js.
This is why the wrapper automatically adds them,

private void FixLineDataSelection()

from blazor-apexcharts.

Domivan avatar Domivan commented on June 12, 2024

That's right, and that's the problem.
Here's the marker and the built-in tooltip that only appears when you hover over the mouse, right?
image
We need the same behavior for custom tooltips.
Or solve the performance issue with markers enabled. I believe the problem correlates with the previously identified
issue 1778

from blazor-apexcharts.

joadan avatar joadan commented on June 12, 2024

hi,

If you want a custom tooltip for a line with no markers then you will have to do it with javascript.
Please see sample here: https://apexcharts.github.io/Blazor-ApexCharts/features/tooltip-javascript

Or solve the performance issue with markers enabled. I believe the problem correlates with the previously identified issue 1778

Please note that apexcharts.js is creating the chart using svg each object in the chart is an svg element.
The more elements you add the more work the browser has to do, and I'm afraid that we don't see any magic solution to this.

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.