All Questions
Tagged with legend javascript
23
questions
14
votes
5
answers
42k
views
Chart.js legend took up too much spaces
I was having some problem with chart.js legend. The legend with long text took up too much spaces which resulting in the reduce in the size of my pie chart:
Another example is this:
If I got more ...
8
votes
1
answer
12k
views
How to wrap legend text in Chartjs?
My ChartJs legend text is overflowing in the same line when the text is too long. Is there any parameter that I can use to enable text-wrap.
legend : {
display : true,
position : 'bottom',
...
96
votes
5
answers
164k
views
HighCharts Hide Series Name from the Legend
I try to solve this problem several times and give up. Now, when I have met him again, I decided to ask for some help.
I have this code for my Legend:
legend:
{
layout: 'vertical',
align: '...
3
votes
1
answer
8k
views
HighCharts: One Legend, Two Charts
I have four different HighChart spline charts. All contain six series representing the six New England states. I want to click any legend and hide/show that series in all charts. I have tried ...
3
votes
4
answers
7k
views
Highchart pie legend circles
Im using a highchart pie chart to create a donut chart but would like the legend icons to be circles any ideas??? Below is the mockup and the actual web version. Thanks...
8
votes
3
answers
12k
views
JQPlot Legend outside of graph
I am using JQPlot and I have many graphs on one HTML page. Each of the graphs has the same legend.
My question is this: Is it possible to display a legend totally outside of the graph with its own ...
6
votes
1
answer
5k
views
Combining multiple legend elements in chart.js
I am trying to add confidence intervals to a timeseries plot in chart.js. At the moment I plotting three datasets and using the fill option. This means I end up with 3 elements in the legend all of ...
6
votes
1
answer
11k
views
Improving D3 Sequence Sunburst Example
This D3 example served as my starting point:
http://bl.ocks.org/kerryrodden/7090426
I wanted to change data that feeds the diagram, and I made following new example:
http://jsfiddle.net/ZGVK3/
...
4
votes
1
answer
2k
views
How to import submodules from d3 to easily create legend?
I'm relatively new to JavaScript and D3 so please keep that in mind. I've created a visualization to show the visit frequency to particular locations in a warehouse and would like to add a legend ...
2
votes
1
answer
7k
views
How to show legend tooltip when hover on legend series in ApexCharts.js
Currently there is no such feature in apexchart v3.19.3, does anyone have a work around for this?
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
2
answers
4k
views
How to render a plotly plot with preset traces hidden i.e. 'legendonly' based on list
Thanks to help on a previous question here I can now record in a list which traces are hidden in a plotly plot by reading out the legend list of TRUE/legendonly with a piece of javascript, which I use ...
1
vote
1
answer
1k
views
d3.js legend overlapping chart area
I'm pretty new to D3.js (I'm a R programmer).
I'm trying to create a scatter and put a legend in the right bottom. However, it's overlapping with chart area.
I've been trying to take some examples ...
1
vote
1
answer
776
views
D3.js grouped bar chart legend missing data
I have a grouped bar chart with an interactive legend. All seems to display and work ok but the legend is missing a value. I know that the issue is that the legend is going off the index of items on ...
1
vote
1
answer
3k
views
Create a Highcharts Pie Chart Legend Inside a Table
Is there a way to create a Highcharts legend inside of a table? I want to be able to style the background of the legend for my Highcharts pie with alternating background colors for each element and ...