In this example we have a dashboard that contains a circular gauge and a blank embedded chart. Using the "OnClick" function we can load the tag that is linked to the circular gauge onto the chart by clicking the gauge itself. This functionality works for any type of control that has an OnClick property.
public void CircularGauge1_Click(object sender, EventArgs e)
CanaryCircularGauge ccg = sender as CanaryCircularGauge;
sourceTag = ccg.SourceTag;
TrendGraph1.AddTrendExternal(sourceTag, sourceTag, "TimeAverage2", TimeSpan.Zero, TimeSpan.Zero, true);