Gets or Sets a hyper-link to an element.
Type: String
Namespace: Visifire.Charts
Assembly:
|
Silverlight: |
SLVisifire.Charts (in SLVisifire.Charts.dll) |
|
WPF: |
WPFVisifire.Charts (in WPFVisifire.Charts.dll) |
This attribute applies to:
Syntax:
<vc:Chart ... >
<vc:Chart.Titles>
<vc:Title Href="http://www.visifire.com" />
</vc:Chart.Titles>
</vc:Chart>
Modifiers in Href Property
Modifiers can be appended to Href property of DataSeries and DataPoints.
Example:
<vc:Chart ... >
<vc:Chart.Series>
<vc:DataSeries Href="http://mysite.com/?#YValue">
<vc:DataSeries.DataPoints>
<vc:DataPoint />
.
.
</vc:DataSeries.DataPoints>
</vc:DataSeries>
</vc:Chart.Series>
</vc:Chart>
On click of DataSeries or DataPoint you will be redirected to another page with the parsed Modifier. This feature is very useful for creating drill-down charts.
Below are the list of Modifiers that can be used in Href property.
|
Modifier |
Significance |
|
#XValue |
Returns XValue |
|
#YValue |
Returns YValue |
|
#ZValue |
Returns ZValue |
|
#Sum |
Returns sum of values in entire chart with same XValue. (Used for stacked charts only) |
|
#Percentage |
Returns the percentage value for with respect to other elements in that series. |
|
#Series |
Returns the series name |
|
#AxisXLabel |
Returns the axis label value if axis labels is present for that XValue. Otherwise returns XValue. |
|
#Open |
Returns Open value if Open value is present in a DataPoint's YValues property. |
|
#Close |
Returns Close value if Close value is present in a DataPoint's YValues property. |
|
#High |
Returns High value if High value is present in a DataPoint's YValues property. |
|
#Low |
Returns Low value if Low value is present in a DataPoint's YValues property. |
Remarks:
To indicate how the hyper-link must be opened please use the HrefTarget attribute.