402 results found
-
Add a custom tick to yAxis
The chart calculates the tick intervals for yAxis.
It is possible to set tickPositioner function or add custom tick positions, but what if I only want to add a single tick? Is it ok to override the entire native tick calculation function?1 voteUse `tickPositioner`. In the callback, you have access to `this.tickPositions` so modify this array (e.g. by adding one tick) as you wish.
Docs: https://api.highcharts.com/highcharts/yAxis.tickPositioner
-
Building stack bottom up
Hi,
We want to add stacks in reverse order without touching legends order. I tried to dig into code and found that while (i--) unconditional
you can add new property so that generic solution can be applied
Code as in 3.0.7
/** * Build the stacks from top down */ buildStacks: function () { var series = this.series, i = series.length; if (!this.isXAxis) { while (i--) { series[i].setStackedPoints(); } // Loop up again to compute percent stack if (this.usePercentage) { for (i = 0; i < series.length; i++) { series[i].setPercentStacks(); } } } },
Proposed code with new property
buildStacks:…
30 votes -
How to draw fibonacci retracement in highcharts
I was able to draw only technical indicators like Linear,SMA,EMA,MACD in highcharts. But is there any js like technical-indicators.src.js is avilable in highcharts to draw fibonacci retracement in highcharts?
13 votesThis is already implemented, possible solutions:
- use the StockTools module to let end-users add Fibonacci retracements to your chart: https://www.highcharts.com/docs/stock/stock-tools
- use Annotations module to create it: https://www.highcharts.com/docs/advanced-chart-features/annotations-and-fibonacci-retracements -
Space after the last data point.
Please provide some configuration function to specify space after the last data point. In real time charts, last point updates at edges of the chart, which is inconvenient for the viewers to continuous watching. Particularly for stock market real time chart.
My Idea is not new it is followed in all the standard Charting programs in the market. It will have some space between the last point and edges of the chart. it makes viewing comfortable.
4 votes -
Legend click options instead of defaulting to hiding the series.
When clicking on a legend item, the behavior is to hide/unhide the selected point or series. I'd like to be able to change this behavior to generate a click event on the corresponding point or series. For instance, I had to write a custom click handler to drill down when clicking on the legend item.
3 votesAlready implemented, please see http://api.highcharts.com/highcharts#plotOptions.series.events.legendItemClick
-
100% stacked column
Like Excel implementation of subject
1 vote -
Add a Performance indicating 'bar'
Would it be possible to add a performance 'bar' for charts like bar and column charts. This 'bar' is really just a line, with arrows on the top and bottom, that indicates the higher and lower performers (assuming you passed in a sorted list of data). This 'bar' would sit beside the chart (for bar charts) or underneath the chart (for column charts).
You can see an image of this enhancement request next to the bar chart in this link https://github.com/highslide-software/highcharts.com/issues/2539 (sorry for posting an enhancement request on GitHub)
1 voteThis is implemented as the “errorbar” series type.
-
Highstock in MAC Firefox 12.5 raises an error: "".indexOf is not a function
".indexOf is not a function
Filtered chrome url chrome://firediff/content/diffModule.js
1 vote -
Control axis visibility: show/hide (toggle) axes
I'm aware that a similar idea has been completed (http://highcharts.uservoice.com/forums/55896-general/suggestions/1813731-hiding-of-y-axis), but what I'm asking for is different:
There are a LOT of users asking for how to hide an axis completely:
http://stackoverflow.com/questions/10877927/hide-axis-and-gridlines-highcharts
http://stackoverflow.com/questions/15277405/highchart-show-hide-an-y-axis-without-hiding-the-series
http://stackoverflow.com/questions/17409041/highcharts-hide-xaxis
etc.Can we just have a property called "visible" on the Axis object that would show/hide the axis?
148 votesThanks for your patience, this feature is now implemented in the dev branch and will be part of the next maintenance release. See http://jsfiddle.net/highcharts/3sembmfo/ for a live demo.
-
Allow export to set a target for the form
When you have a lot of charts running and calling web services if you export one it will kill those web service calls. If you allow the user to set a target on the form then the export can post for example to a hidden iframe.
0 votesAvailable through the exporting.formAttributes option.
-
Resize pane height dynamically by mouse drag
It would be a nice feature (especially for highstock) if we could change the height of a pane (yAxis) by clicking on its horizontal boundary and dragging it (simultaneously changing the height of the adjoining pane)
10 votesImplemented as of Highstock 6.0. See https://api.highcharts.com/highstock/yAxis.resize
-
Do Highcharts support micro charts
I wanted to know whether I can render micro/mini charts say [160 x 30 px] using HighCharts
1 voteYes, no problem. You just need to remove titles, legends, axis labels et cetera that don’t fit into the small space.
-
OHLC/Candlestick point color in tooltips
Default highstock tooltip formatter use color of chart in series name. But OHLC/candlestick has two kind of point colors - color & upColor and tooltip can show one of them for differnet points.
7 votesWill be default behaviour since v9.
Related GH ticket: https://github.com/highcharts/highcharts/issues/14826
-
Place gauge needle beyond y-axis when value is too large
When the gauge y-axis range is set from -50 to 50 and the actual value is 60, then the needle stops at 50.
However, it would be preferred that the needle is put slightly BEYOND the 50 to indicate that the value is actually outside the y-axis range.
this will prevent the user from accidentally thinking the value is 50.
4 votesImpemented the overshoot option that takes the number of degrees to overshoot
http://jsfiddle.net/highcharts/gEGaf/2/ -
Display negative percentages for Stacked Bars/Columns
When I create a stacked bar or column chart with the stacking set to "Percent", the negative percentages should be shown in a negative axis.
As shown here in Excel: http://i.imgur.com/R3RboAe.png
9 votesThis was implemented as of Highcharts 3.0.6.
-
Time axis in common increments
I will even provide sample code. If I have a chart with automatic y-axis labels: 3 minutes 8 minutes, 14 minutes, it looks stupid. It should be 5, 10, 15 minutes and similar adjustments should be made for other increments as well. Adjust for irregular points by raising the max slightly and / or dropping a label.
Sample Code (works well enough):
var FitTimeAxis =
{
getAxisData: function (max,intervals)
{
var data = {};
data.max = this.getMaxValue(max,true);
data.interval = this.getMaxValue(data.max/intervals, true);
return data;
},
getIncrementsArray: function(levels)
{
levels = isTrue(levels);
var arr = [];
arr.push(15);
arr.push(30);
for (var i=1;i<=15;i++)
arr.push(60…1 vote -
Vertical line markers
I would like to add vertical line markers to mark for events which happened during the time-series data (like device reboot). Like flags from Highstock, just without any label associated and line going from top to bottom. With axis flags it is hard to precisely see when the event occurred when having multiple series plotted. And because the event is for multiple series all together, it is not reasonable to put them onto a particular series.
7 votesWhat you are describing is plot lines, see http://api.highcharts.com/highcharts#xAxis.plotLines
-
Editor plugin for privately hosted charts
Take the editor interface from the cloud product and provide it as an optional library for privately hosted charts. Therefore, we can allow our users to dynamically format a chart (according to what we want to allow) with hooks so that we can privately save their changes.
For example, I want to allow users to customize the series color, marker size, style, etc. I can build my own web interface to collect/store these settings, but it would be great if there was a canned one that I can just plug in and capture the changes.
16 votes -
streamgraph?
How about a streamgraph in HighCharts? http://bl.ocks.org/mbostock/4060954
6 votesHere’s a plugin based on the existing stacking logic: http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/samples/highcharts/studies/streamgraph/
Alternatively, an areasplinerange would be up for the task: http://jsfiddle.net/highcharts/V757d/
-
Add an ability to show error bar in legend
Currently the error bar does not show up in legend. Error bars can be used to show various data (e.g. blood pressures) and we need a way to show it in the legend.
1 voteTo enable the error bar in the legend and preserve the link to the parent series, just set showInLegend to true: http://jsfiddle.net/highcharts/158nvhe3/9/
The error bar is linked to “:previous” by default. By nulling this option, it appears as a standalone series. http://jsfiddle.net/highcharts/GpPHq/.
- Don't see your idea?