If I remember correctly, the period is not parsed to see if it's an item and then used accordingly, so no, it won't work as you want.
There's currently a number of sitemap additions in the pipeline for review (pull request 57). This will allow different charts based on an items value as it adds dynamic visibility. So, you can say "if EnergyChartPeriod=10, show chart 1; if period = 20, show chart 2" type of thing. This works well on my modified version of HABDroid.
Kai expects to get on to the review of this quite soon, so hopefully we'll have this in the next week or two (depending on how many changes I need to make).
Cheers
Chris
Yes - dynamic visibility is added to all widgets.
However, I also added a image=item type definition, so you can get an image filename directly from a string item. I had some security concerns about this which I raised for review, so we'll see how that pans out :)