Change a picture to grayscale or to black-and-white. Click the picture that you want to change. On the Format tab, click Recolor, and then choose Grayscale
Audi Financial Services Payoff Address
I'm sorry, but I don't understand if you can please explain more clearly or show for example some code example please
|
<chart:SfChart TrackballCreated="SfChart_TrackballCreated" >
. . .
<chart:SfChart.ChartAnnotations>
<chart:RectangleAnnotation Y1="0" IsVisible="False"
FillColor="#80d3d3d3"
StrokeWidth="0"
x:Name="rectangleAnnotation"
CoordinateUnit="Pixels" />
</chart:SfChart.ChartAnnotations>
<chart:SfChart.ChartBehaviors>
<local:ChartTrackballExt x:Name="trackballBehavior" ShowLabel="False">
<local:ChartTrackballExt.MarkerStyle>
<chart:ChartTrackballMarkerStyle ShowMarker="False"/>
</local:ChartTrackballExt.MarkerStyle>
<local:ChartTrackballExt.LineStyle>
<chart:ChartLineStyle StrokeColor="Black" StrokeWidth="2"/>
</local:ChartTrackballExt.LineStyle>
</local:ChartTrackballExt>
</chart:SfChart.ChartBehaviors>
</chart:SfChart> |
|
private void SfChart_TrackballCreated(object sender, ChartTrackballCreatedEventArgs e)
{
rectangleAnnotation.X1 = (e.ChartPointsInfo[0] as ChartPointInfo).XPosition;
if (!rectangleAnnotation.IsVisible)
{
rectangleAnnotation.IsVisible = true;
var seriesBounds = (sender as SfChart).SeriesBounds;
rectangleAnnotation.Y1 = seriesBounds.Top;
rectangleAnnotation.Y2 = seriesBounds.Bottom;
rectangleAnnotation.X2 = seriesBounds.Right;
}
}
public class ChartTrackballExt : ChartTrackballBehavior
{
protected override void OnTouchUp(float pointX, float pointY)
{
base.OnTouchUp(pointX, pointY);
if (this.Chart.ChartAnnotations.Count > 0)
(this.Chart.ChartAnnotations[0] as RectangleAnnotation).IsVisible = false;
}
} |
Dear Yuvaraj Palanisamy,it works.
But the style of the line has not changed. It has not become a dash
|
|