Tag historian not recording

I set up a gateway script to write to a memory tag and then enabled history on it to the gateway's internal historian. When I try to bind the tag history to a component I get the t_stamp but the data is all 0s. I've confirmed in the tag the last value(s) not being 0.

I've never messed with tags before, so I'm sure I'm doing something wrong that's probably fairly simple.

Tag:

Dataset:
image

Binding:

Thanks for the help!

@hw79 Are you charting more than one value? If its only one I would suggest to use binding type as tag instead of tag history.

it is only the one value, I ended up writing this to a table instead of a tag. Thanks for your response!