I am using echarts and I am trying to put bars center of each yaxis
I can't use barGap option because serie array of this graph is dynamic and I can't controll it.
how can I do this? is there any option for this?
Related
I am trying to get bar chart as horizontal with vertical line. If there is boundaryGap: false for yAxis then bar chart goes below xAxis.
If I do not remove boundaryGap, then yAxis starts in middle of values. The vertical line starts in half of value.
Is it possible for vertical line to appear touching xAxis while barChart can be with boundary?
I later realized that it can be achieved using field markLine. The API has all details and can be simply used as:
markLine:{ data:[1,2,3] }
Echarts version : 4.8
I'm using scatter and heatmap series on the same map.
The problem is that on the right border the heatmap are cut until the last point.
How can I display the full heatmap tiles ? what am I missing here ?
Thanks
It is difficult to determine the problem from your picture, it would be easier with the configuration code, but I will try.
Try to add to the chart config the grid option. With grid you will can control padding of the visual chart part against outside space.
https://echarts.apache.org/en/option.html#grid
You need to change left, right, bottom and top options to move the edges.
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.
I am trying to implement drag and drop functionality in highcharts. But I am facing 2 problems:
Secondary Y-Axis is not seems to be working, any reason why the line of for Phasing series is showing like this?
How can I show the sum of Phasing series in tooltip while user is dragging, how can I do it in drag event?
Basically only the uplift series is draggable and the sum of all points in that series should be exactly 100.
Since all points have the same calue, Highcharts can't calculate yAxis - set min or max for second yAxis, to give some more information for calculations: http://jsfiddle.net/ZQQpS/9/
Why you want to do it in drag event? Use tooltip.formatter - there loop through all points using this.point.series.data and sum values to display in a tooltip.
I'm using a dojo chart to display data in a bubble chart. However, I don't need the axis but if I remove the axis, it screws up the display of the data. I can fudge axis not being there by hiding labels and coloring the lines white but then there's still this large margin on the left and bottom of the chart. How do you make a dojo chart without the axis while still having the min/max set correctly?
chart1.addAxis("x",{ type : 'Invisible' /*, .... */ });
Matthew, if you are still looking to tweak the margins, the solution here:
dojox charting: remove the padding around the chart
worked for me.