line on the minimal value not visible - highcharts

If I set the minimum value (min:0 yAxis), and the line is crossing is the minimum value, then part of the line is not visible. How to fix this? I want to line is at the minimum value was visible.
[http://jsfiddle.net/NQyQ6/][1]

Unfortunately it is known bug reported to our developers here: https://github.com/highslide-software/highcharts.com/issues/1687

Just don't specify any Y axis bounds. They will be computed automatically by default.

Related

How to change the axis values to correctly display even when zoomed in?

I wanted to ask how to increase the values of the axis to display data correctly?
I tried searching the teechart options but with no luck.
In this case, you should either
use one more digit in the number format (0.0000) on the left axis, or
increase the distance between the labels on the left axis.
In a comment to the question, the OP confirmed that the number format should be changed.
To do this at runtime, you can do
MyChart.Axes.Left.AxisValuesFormat := '0.0000';
It is also possible to do this at design-time.
Posting a photo for others who might get confused where this setting can be tuned in teechart Options

DataLabels hide themselves even after allowOverlap is set to true. How to fix it?

HIGHCHARTS
Please Have a look at JSFIDDLE. In this Example, the "Opera" dataLabel is hidden even if allowOverlap is set to true. How to fix this? Please share your ideas.
EDIT:
Here is the updated JSFIDDLE.
With such density, not all labels will display. The solution for that problem is setting padding of data labels to 0, increasing distance property or simply changing height of chart to higher value.
API Reference:
http://api.highcharts.com/highcharts/chart.height
http://api.highcharts.com/highcharts/plotOptions.pie.dataLabels.padding
http://api.highcharts.com/highcharts/plotOptions.pie.dataLabels.distance
Examples:
http://jsfiddle.net/u86cosyg/ - increasing height and setting padding to 0
http://jsfiddle.net/7xLm1xma/ - increasing distance

How to prevent Highchart from severely change declines?

The problem is that, if I try to change the lowest point to somewhere higher, the entire chart will be lowered severely.
How do I adjust each point with no above mentioned issue?
P.S. I use Highchart's Highstock.
It would be helpful if you could show a JsFiddle with the actual working code. Without knowing what exactly is going on with your chart it's difficult to figure out what the issue is and how to fix it.
Have a look at the yAxis - Highstock API Reference, you could potentially make use of min or max to counteract the scaling. Again though, without seeing your code it's tough to know.
If I understand your problem, you are trying to set the 7th point from currently at ~150 to something really high, say 5000? I did not notice any real change in the position of other points if the new value was under 1500 (or something around twice the first point)
Appears that your chart is set to comparison mode, hence, I believe, the default max and min are (100% & -100%) by default, this is w.r.t. to first point of the series. Highcharts would auto adjust these extremes if any of the points were to lie outside this range, you could force an override using yAxis.min & max.
For instance, you can set yAxis.min to -100 and yAxis.max to 100 like this
yAxis: {
min:-100,
max:100
}
Play around with the min and max to get to the values that suits your data the most, do remember these are % comparison to the first point. Any points outside these ranges would not show in the chart.
#jsFiddle

Highcharts highstocks - candlestick graph has last value partially cut

In a candlestick graph i am building, the latest bar is cut-off partially such that even the bar is not visible. Thus it's difficult to judge the high and low by seeing the bar.
I'm unable to post a pic now but it's like the last rectangle being cut in half.
I'm tried a lot of options in the api but can't figure out why this is not showing correctly. The chart margin and axis offset options havent' helped. Is there a way i can set the series margin from the plot area so that it displays right.
For this problem, the best solution is to insert a dummy series which should be hidden from every aspect of the chart. So try this, insert a dummy series from the last point of the data series to some extra buffer(as per need). Then remove this series from the chart by explicitly removing it from the legends (using showinlegend),chart(setting linewidth to 0) and from tooltip by having a check in formatter. Hope this solves your problem.
I had the same problem and couldn't figure it out, because no matter how I changed the xAxis.maxPadding or changed the xAxis.max, it would always cut off the last candlestick when I clicked on the range selector.
To solve it, (hack) I just added an extra data point in my series and set it 1 day past the last day and set all values to null.
Without any code or a pic, it's hard to tell the problem, but it sounds like you need to use the max padding option. http://api.highcharts.com/highcharts#xAxis.maxPadding. You may also want to look at endOnTick as well as whether you are setting max on the axis.

Define linespacing using a Point-Value

i have to write a paper where the chair claims a font size of 12pt AND a line-spacing of 15pt (which seems not to be \onehalfspacing).
Can anyone tell me how to define the spacing using the value 15pt?
Best regards and thanks!
Philipp
You can set the line spacing exactly by altering the \baselineskip value.
\setlength{\baselineskip}{15pt}
Note that you have to use this command inside the document environment in order for it to have an effect.

Resources