Value not getting updated on click of Column Chart field Links

A Score Level 1

I want to save some value on click of various points in a column chart. I have added dynamicLink() component in the chart series, but the value is not getting saved. I'm pasting the code snippet below. Anyone knowing the way out, please help.

load(
local!a,
local!b,
local!c,
{
a!columnChartField(
label: "Multi-Category Chart",
categories: {
"Cat-1",
"Cat-2",
"Cat-3"
},
stacking: "NORMAL",
series: {
a!chartSeries(
label: "Bar-1",
data: {
10, 20, 30
},
links: {
a!dynamicLink(saveInto: save(local!a,"10")),
a!dynamicLink(saveInto: save(local!b,"20")),
a!dynamicLink(saveInto: save(local!c,"30"))
}
),
a!chartSeries(
label: "Bar-2",
data: {
20, 10, 30
}
),
a!chartSeries(
label: "Bar-2",
data: {
40, 10, 15
}
)
}
),
a!textField(value: local!a)
})

 Discussion posts and replies are publicly visible