I need a legend with a height of 450 pixels at any time, regardless of how many series in the diagram I use
$('.highcharts-legend rect').attr('height','475');
but this is not effective, I need something like the add-on option in the legend, but only padding Bottom, how can I do this, thanks
This example is ok http://jsfiddle.net/DZLdt/ I just want to do something like height: 475 in legends configurations
Highcharts provides maxLimit for legendHeight.
legend: { maxHeight: 475 }
, , maxHeight. .
API ref: http://api.highcharts.com/highstock#legend.maxHeight
, .
, , . , , rect, , svg . , svg, script , , svg.
rect
$('.highcharts-container svg').height(heightToIncludeTheIncrease);
, . , , rect.
Source: https://habr.com/ru/post/1530302/More articles:выберите n-й файл в папке (с помощью sed)? - bashHow to identify / verify FaceTime contact information? - iosThe character "f" is considered true in ng-show - angularjsIs there any way to show output during database update? - c #PostgreSQL query dividing by zero error - sqlAccording to the standard, does std :: vector affect static order initialization problems? - c ++https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1530304/restrict-access-to-the-admin-url-by-ip-in-django-with-nginx-and-gunicorn&usg=ALkJrhh3zppCo4QsgUMHWmHwnFGHS9ixJgnuget pack [someProject.csproj] won't let me change the title or description - nugetWhy not ALAssetLibrary -enumerateGroupsWithTypes: usingBlock: "stop" when I say? - iosASP.NET MVC 4 Session Timeout - asp.net-mvc-4All Articles