All Questions
21
questions
0
votes
1
answer
4k
views
ChartJS custom legend doughnut separate legend from chart area
I'm attempting to separate the Legend from my Chart in a ChartJS chart.
When using the 'default' legend, there is no way to control the chart area size and it will get smaller the more items I have in ...
1
vote
1
answer
3k
views
Legends in Chart.js, shows only one label
Just a warning: I am new to chart.js!
I have a couple of horizontal bar charts and it works fine except one issue that I cannot shake off. I have 5 labels in y-axis but the legend on top of the graph ...
1
vote
1
answer
980
views
Hover over Element in Custom Leaflet Legend
I created a Leaflet Map with a Legend. The goal would be to hover over the text element in the legend area and show a tooltip with a image.
Problem: hover is not showing up! I tried very different ...
0
votes
1
answer
47
views
several graph has the same legend in flot
I am using JQuery Flot graph plugin to plot some bar charts in a page. when I plot a graph by datas and option below:
var chartData = [{
label: 'success',
data: [[...
0
votes
1
answer
1k
views
Execute onClick function on Custom Legend
I've added a function "Pie_onClickLegend_HighlightOnSlice(event, legendItem)" used in options > legend > onClick, and I'd like to use it also with my custom legend. But I don't know how to pass the ...
1
vote
3
answers
2k
views
Show legend using jquery
I'm creating some charts using Fusion Charts. Due to some problem, I have to display legends separately and not use the legends provided by fusion charts.
I have a table data in which I have status ...
2
votes
1
answer
928
views
Pie chart legend not showing - Uncaught TypeError: Cannot set property 'innerHTML' of null
I have to show legends for a pie chart. I have been following below link.
http://jsfiddle.net/vrwjfg9z/
But it does not work for me in below code.
<!DOCTYPE html>
<html>
<...
0
votes
1
answer
4k
views
Set custom symbol to HighCharts legend
I want to set custom symbol to legend item. Currently I have rectangle. I need rectangle with tick (like colorful checked checkbox).
According to documentation, I can just customize elements like ...
1
vote
1
answer
133
views
Highchart changes chart width when user hides the graph lines
I have so many lines displayed in my graph, that I wanted to add a function to turn them off, and turn only selected ones on. That's why I have a "Show Legend", "Show All" and "Hide All" button ...
1
vote
3
answers
17k
views
Change the color of legend symbol highchart
Is it possible to change the legend symbol color in Highcharts?
For example demo example contains two series and the symbols in legend are in blue and black (same as the series).
I couldn't find ...
0
votes
1
answer
49
views
Different X values for different columns on highchart
I have a problem with drawing a highchart like on this fiddle
Sample highchart. But I want chart like this one, but with many series/labels in legend. I want to get 'Jan', 'Feb', 'March', 'April' as a ...
1
vote
1
answer
389
views
Reverse highmaps legend values or color OR draw legend color from other attribute instead of value in series
here is my highmaps
http://jsfiddle.net/waqarakbar/8fypgxvc/
I need to reverse the values of the legend so that 30 go to top (red color) and 0
come to bottom (green color). Reversing either the ...
2
votes
2
answers
88
views
jquery cookies and Legend state
I'm using this code to activate disactivate the contents of fieldsets and jquery cookies plugin which works except for the state of the legend which always comes back as unselected which in turn sets ...
0
votes
2
answers
3k
views
leaflet expand control and autoZindex
I am trying to keep my leaflet controls expanded and reverse the order it makes my base layers. Currently, the controls only open on hover, and it auto orders my layers 2009-2015. I would like them to ...
0
votes
1
answer
758
views
Dynamic FLOT legend table
I have a somewhat limited knowledge of JS and JQuery so I am sorry if this is a stupid question. I have a dashboard of charts which will have varying widths and also allows a user to change the width. ...