mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Fix legend title drawing + update sample (#7060)
This commit is contained in:
parent
a30f753321
commit
93757a53e5
@ -2,7 +2,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Legend Positions</title>
|
||||
<title>Legend Title Positions</title>
|
||||
<script src="../../dist/Chart.min.js"></script>
|
||||
<script src="../utils.js"></script>
|
||||
<style>
|
||||
|
@ -513,7 +513,7 @@ class Legend extends Element {
|
||||
return;
|
||||
}
|
||||
|
||||
const rtlHelper = getRtlAdapter(opts.rtl, me.left, me.minSize.width);
|
||||
const rtlHelper = getRtlAdapter(opts.rtl, me.left, me._minSize.width);
|
||||
const ctx = me.ctx;
|
||||
const fontColor = valueOrDefault(titleOpts.fontColor, defaults.fontColor);
|
||||
const position = titleOpts.position;
|
||||
|
Loading…
Reference in New Issue
Block a user