How to remove a legend for a series from dojo chart - charts

I have a dojo chart with a vertical line series, see. How do I remove this series from the legend so that only my 'real' series are shown in the legend?

Try the following:
chart1.removeSeries("vertical line"); //Removes the series from the chart by series name
chart1.render(); //Refresh the chart
legend.refresh(); //Refresh the dojo legend object to update it

Related

Can we drag and drop legend or series from one linechart to another in echart?

enter image description here
I using multiple instances of chart. Is there a way to drag legend or series from one chart to another and plot it?

Chart.js doughnut and pie chart at same canvas mixed

Can I display together two different types of chart together. I need to have a doughnut chart with about 70%, and another pie chart section over the first (doughnut) chart that will be just a thin line going from center of the circle to the doughnut's edge. I want to make a speed-o-meter this way.
A pie chart is a doughnut chart with cutoutPercentage:0. Try using a doughnut chart, setting cutoutPercentage:0, and adding two datasets.

change legend in chart in report builder

I want to change the text in the legend on the right side (attach pic)
how can I do it?
The text is based on the Series Properties.
Right-click on the Series you want to change on the Chart
itself.
Select Series Properties.
Select Legend.
You can change the text in Custom legend text:
You will need to do this for each series in your Chart.
Good luck!

jfreechart pie chart fixed pie radius

I have dynamic pie set and if there are a lot of series then pie get small.
How to set fixed pie chart radius.
A PiePlot grows to fill the space available, so you'll need to give it room to grow. Some possible approaches:
Override getPreferredSize() and use a suitable layout, as shown here among other suggestions.
Display the legend items in an adjacent component, as shown here, leaving the chart alone to fill it's container.
Reposition the legend within the chart, as shown here for the default RectangleEdge.BOTTOM.

Jqwidget Pie chart labels

How to use the pie chart of jqxChart with custom labels?
This is the main demo:
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxchart/index.htm#demos/jqxchart/javascript_chart_pie_series.htm
In the pie I would like to have the description (in the example the Browser name) instead of percentage in the labels. Is it possibile? I found how to set it only for the legend but not in the label inside the pie.
Have you tried to implement the Chart's formatFunction which is used for formatting the Labels?