Skip to main content

All Questions

Tagged with
3 votes
3 answers
3k views

remove strikethrough behavior in chart.js bar chart

i am trying to change the look of the legends by removing the strikethrough effect , wihtout using legendCallback function in chart.js. The reason why i do not want to use the legendCallback function ...
0 votes
1 answer
31 views

Is it possible to count the occurrence number of a custom icon in Leaflet? If yes, how to do it?

Firstly, I'm a beginner, I've learned a lot from you. I have 5 custom icons defined: //Awesome icons var LeafIcon = L.Icon.extend({ options: { shadowUrl: "markers-shadow.png", ...
0 votes
0 answers
8 views

Adapting the leaflet.js Choropleth example with non static legend

I am trying to use the beautiful base example Choropleth, but would like to have a second base map, with a second legend that would be linked to the base map used (therefore not anymore static), with ...
0 votes
1 answer
40 views

Why the legend merged with the d3.js line chart when zooming?

I am trying to add a legend to the d3.js example named Line chart with zoom in d3.js 1°) I added the script: // Add legend rectangle line.append('rect') .attr('x', width - 80) ....
0 votes
1 answer
40 views

How to prevent hiding plotly chart bar on chart legend click

How to prevent hiding plotly chart bar on chart legend click in an angular application. <plotly-plot [divId]="graph.selectedGraph.name" [data]="graph.selectedGraph....
0 votes
1 answer
248 views

How to add spacing between Legend and Chart in Recharts with absolute positioning?

I'm using Recharts for the first time in my React project I've positioned the legend of my BarChart component to the top right corner. However, I'm struggling to add spacing between the legend and the ...
0 votes
1 answer
38 views

Shared legend for 2 Highcharts using React

I want a shared legend for 2 areaspline highcharts. Using react, I am unable to create that shared legend between the 2. My code: component.js: import React from "react"; import "...
0 votes
1 answer
48 views

How to Display Values Next to Legend in React Pie Chart? Getting 'Undefined' Error

I am trying to display value next to legend, but I am getting undefined. Debugged but no luck, can you let me know how to fix it. Providing my code snippet and stackblitz below https://stackblitz.com/...
0 votes
0 answers
23 views

Highmaps mapbubble legend moves when zooming in the map

I use Highmaps to display bubbles on a mapline. Everything works well but if I display in the legend the color axis and the size of bubbles, there is a strange behavior when I zoom in the map. The ...
0 votes
1 answer
35 views

change the language of the legend in dygraph in r

I have done this. Edited the dygraph-combined.js changing the names of months and days, for example, replace text "Oct" with "Okt" and so on, to change the language of the date ...
1 vote
1 answer
2k views

How to remove strikethrough from label once click on legend

How to remove strikethrough from label once clicked on legend and show only label text
0 votes
0 answers
206 views

Chart js - v 4 How can I change the order of chart legend

The legend was created using the html Legend Plugin, which is displayed differently from the order in which you draw the chart Is there a way to change the legend order to match the data order? I ...
0 votes
1 answer
17 views

How can I implement tooltips for Rickshaw legends?

I'm using Rickshaw to display a graph of several time series with a legend. I would like to display some text when the user hovers the mouse cursor over an entry in the legend. There is apparently no ...
0 votes
1 answer
2k views

apexcharts legend with values

I have created a apexcharts. now i want to show all series data in legend like this i want like this my code - new ApexCharts(document.querySelector("#noOfPoc"), { series: [32, 2, 1, 1], ...
2 votes
2 answers
3k views

How to create color picker with extra functionality like choosing color from screen

I have an colorpicker which i created using react-color (https://casesandberg.github.io/react-color/) . Now I want extra functionality like it should also be able to choose the color from screen (...

15 30 50 per page
1
2 3 4 5
17