Is it possible to highlight x and y axes on Highcharts - highcharts

I have created a scatter chart with Highcharts, both x and y axes range is from -20 to 20. It is shown as a grid, I set "gridLineWidth: 1" both for x and y, so all the lines have the same width.
Is it possible to give a different width only to x and y axes which cross the origin?

I've solved using plotLines to both axes.

Related

my vertical x axis labels run into my plotted data. Is there a way to compress the graph so I have a little extra room at the bottom

I am plotting my x axis labels vertically, and using the following line to provide a little space under the axis
axisSet.xAxis.axisConstraints = [CPTConstraints constraintWithLowerOffset:40.0];
But now the vertical length of the label bumps into the first value on the y axis. Is there a way to compress the graph a little so the first value on the y axis begins a little higher? Thanks.
Adjust the axis' labelAlignment and/or labelOffset to reposition the labels.

C3 js Tooltip X axis issue while moving the cursor

I am using c3.js to render a graph. My tooltip is only moving along y axis and not on x axis.

Margin for scatter series in Shinobi Charts on iOS

I'm using a scatter series in Shinobi Charts but points with maximum and minimum x and y values are being truncated because they're at the edge of the plot area?
How can I add a small margin to the plot area so I can clearly see the scatter points and none are truncated. I realise that I can set the range of each axis myself but that gets into nasty math to work out what a 5px margin would be over the lowest/highest values etc.
There are 2 properties on SChartAxis which can help you: rangePaddingLow and rangePaddingHigh. These values are absolute values, and in the scale of the axis.
For example, if you have an axis which has an automatic range of (0,100), then the following would update the range to (-5, 105):
axis.rangePaddingLow = #5;
axis.rangePaddingHight = #5;
As the axis scale updates, these padding values will be maintained.

Coreplot Intersection of X and Y axis

Using the Mac OS framework I have the x and y axis interesecting at zero ( X interesects Y axis at Y = 0 and vice versa ) however the Y axis is at the far left of the screen where it is not visible .
Is it possible to specify a fixed margin for Y axis from the left of the plot area irrespective of the X Range ( and still maintain both the axes interesecting at 0 respectively) ?
One way i thought of doing this ( forcing a margin for Y axis ) was via specifying a negative value for the low X however this does not scale well when doing wide ranges of X ( 100's vs 1000's) . I need an easier way to predictably make X intersect Y at a fixed pixel offset in the chart to render it consistently .
I've tried using the y.orthogonalCoordinateDecimal = 0 . it does what it is meant to do ( make y intersect X at 0 ) however the actual intersection point in the graph is not where I desire . I want to be able to control the location of that intersection say 100 pixels for X and 80 pixels for y .
Use the axisConstraints to hold the y-axis at the left side of the graph:
y.axisConstraints = [CPTConstraints constraintWithLowerOffset:0.0];
If you always give the xRange of the plot space a location of zero, this will give the appearance you want.

How to display the numbers in graph?

How to display the custom number in X and Y axis?
I need to display my custom subject name in x axis, Marks in Y axis.
Set a labelTextStyle and labelFormatter on the plot to create automatic data labels. This will work with any plot type.

Resources