Title of Multiline chart shifted left

Posted on
Sat Nov 20, 2021 1:15 pm
aldonc offline
Posts: 24
Joined: Jan 10, 2015

Title of Multiline chart shifted left

Hi Dave,
I've noticed that the title for the multiline charts is shifted far left. It looks like maybe the centerline of the title is at the left margin of the plot but I haven't proven that. This happened a while back and I just got around to looking into it so don't know if there was a change in one of the updates? I do't see anything obvious.

thanks,
Aldon

Posted on
Sat Nov 20, 2021 2:46 pm
DaveL17 offline
User avatar
Posts: 6009
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Title of Multiline chart shifted left

Yes it does, and that's not something I recall doing intentionally. I'm zeroing in on a permanent solution, but if you're comfortable editing the plugin code...within the file "chart_multiline.py", change this line:

Code: Select all
    chart_tools.format_title(p_dict=p_dict, k_dict=k_dict, loc=(0.05, 0.98), align='center')
to this:

Code: Select all
    chart_tools.format_title(p_dict=p_dict, k_dict=k_dict, loc=(0.5, 0.98), align='center')
(the change is in the loc parameter). This might be the permanent solution, but I want to do a bit more digging.

chart_multiline.png
chart_multiline.png (17.02 KiB) Viewed 76 times

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sat Nov 20, 2021 4:36 pm
aldonc offline
Posts: 24
Joined: Jan 10, 2015

Re: Title of Multiline chart shifted left

That worked!

thanks,
Aldon

Posted on
Sat Nov 20, 2021 6:01 pm
DaveL17 offline
User avatar
Posts: 6009
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Title of Multiline chart shifted left

Good deal. Thanks for letting me know.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sat Nov 20, 2021 6:28 pm
DaveL17 offline
User avatar
Posts: 6009
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Title of Multiline chart shifted left

I've posted an update to the plugin that addresses this bug. Thanks for bringing it to my attention.

https://forums.indigodomo.com/viewtopic.php?f=219&t=17349&start=30#p206578

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest