Pre loader

Binding the Z Value of an XyzSeriesInfo (3D Chart)

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

I have created the following style for my charts legend:

   <Style  TargetType="{x:Type s:SciChartLegend}">
        <Setter Property="Background" Value="DarkGray"/>
        <Setter Property="ItemTemplate">
            <Setter.Value>
                <DataTemplate DataType="{x:Type s:XyzSeriesInfo}">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="Auto" />
                        </Grid.ColumnDefinitions>
                        <Ellipse Grid.Column="0" 
                              VerticalAlignment="Center"
                              Stretch="Fill"
                              Width="40"
                              Height="40"
                              StrokeThickness="3"
                              Stroke="{Binding ????, Converter={StaticResource SlitValveToBrushConverter}}" />
                        <TextBlock Grid.Column="1"
                                   Margin="5,0,10,0"
                                   HorizontalAlignment="Center"
                                   Text="{Binding SeriesName}" />
                    </Grid>
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>

I want to bind the Stroke of my ellipse to the Z Value (the string part) of my DataSeries (property is called ChartItems) which is of type XyzDataSeries3D<DateTime, int, string>

How can I bind to the Z Value?

Version
4.2.4.10393
    • Guest
    • 6 years ago
    ylellisyyttä kellot Rolexkopio rolexkopio rolexin kelloa Oyster Perpetual US Dollar Euro GB Pound Canadian Dollar Australian Dollar Jappen Yen Norske Krone Swedish Krone Danish Krone CNY Ryhmät Rolex Oyster Perpetual Rolex Lady – Datejust Rolex Cosmograph Daytona Rolex Datejust Rolex Datejust 36 Rolex Datejust II Rolex Datejust Lady 31 Rolex Datejust Special Edition Rolex Day -Date Rolex Day -Date II Rolex Explorer Rolex Explorer II Rolex GMT – Master II Rolex Lady – Datejust Rolex Milgauss Rolex New 2013 mallit Rolex Rolex Deepsea Rolex SKY asukkaana Rolex Submariner Rolex Yacht – Master II Rolex Yacht -Master Myydyimmät Fake Rolex Oyster Perpetual 31 mm Watch: 904L terästä – M177200 €9,888.69  €193.44Säästä: 98% Fake Rolex Oyster Perpetual Watch: 904L terästä – M116000 – 0001 €8,141.22  €197.16Säästä: 98% Fake Rolex Oyster Perpetual Date Watch: 904L terästä – M115200 – €6,104.52  €198.09Säästä: 97% Esittelyssä – … Fake Rolex Cosmograph Daytona Watch: 904L terästä – M116520 – 00€9,192.12  €189.72Säästä: 98%Fake Rolex Air -King Kello : 904L terästä – M114200 – 0002€5,827.38  €188.79Säästä: 97%Fake Rolex Oyster Perpetual 31 mm Watch: 904L terästä – M177200 €9,888.69  €193.44Säästä: 98% Koti ::  Rolex Oyster Perpetual Rolex Oyster Perpetual Listattuna 1 – 12 (27 tuotteesta)  1  2  3   >>  Fake Rolex Air -King Kello : 904L terästä – M114200 – 0001€6,088.71  €190.65Säästä: 97% Fake Rolex Air -King Kello : 904L terästä – M114200 – 0002€5,827.38  €188.79Säästä: 97% Fake Rolex Air -King Kello : 904L terästä – M114200 – 0003€9,107.49  €199.02Säästä: 98% Fake Rolex Air -King Kello : 904L terästä – M114200 – 0005€9,283.26  €210.18Säästä: 98% Fake Rolex Air -King Kello : Valkoinen Rolesor – yhdistelmä 904L€6,505.35  €191.58Säästä: 97% Fake Rolex Lady Oyster Perpetual Watch : Valkoinen Rolesor – yhd€8,009.16  €198.09Säästä: 98% Fake Rolex Lady Oyster Perpetual Watch: 904L terästä – M176200 -€8,074.26  €193.44Säästä: 98% Fake Rolex Lady Oyster Perpetual Watch: 904L terästä – M176200 -€9,427.41  €209.25Säästä: 98% Fake Rolex Lady Oyster Perpetual Watch: 904L terästä – M176200 -€6,369.57  €195.30Säästä: 97% Fake Rolex Lady Oyster Perpetual Watch: 904L terästä – M176200 -€9,147.48  €219.48Säästä: 98% Fake Rolex Oyster Perpetual 31 mm Watch : Valkoinen Rolesor – yh€7,933.83  €197.16Säästä: 98% Fake Rolex Oyster Perpetual 31 mm Watch: 904L terästä – M177200 €10,718.25  €196.23Säästä: 98% Listattuna 1 – 12 (27 tuotteesta)  1  2  3   >>  Koti   laivaus   Tukkukauppa   Tilauksen seuranta   kuponkeja   maksutavat   Ota meihin yhteyttä   Uudet Replica kellot   Replica Rolex kellot   AAAA Replica Rolex kellot   Fake Rolex kellot   Replica Rolex Oyster   Halvat Replica Rolex kellot   Copyright © 2012 Kaikki oikeudet pidätetään. Rolex naisten kellot halpa Rolex kellot Perpetual blog Perpetual About rolexdaytonawatches.top blog
  • You must to post comments
0
0

Hi Craig

///If you bind to XyzSeriesInfo.ZValue and use a converter you can conver the Z-value into a Brush for the Ellipse Stroke.///

Actually this is wrong. I’ve looked in the code and the SeriesInfo type for 3D Charts is BaseXyzSeriesInfo3D. This has the property HitVertex which contains the XYZ coordinates of the data at the hit-test site.

So you need to bind to HitVertex and use HitVertex.Z in your converter to convert to a brush.

Let me know if this helps,

Best regards,
Andrew

    • Guest
    • 6 years ago
    outlet moncler | moncler takkeja. | outlet moncler moncler puhdistuma puhdistuma: moncler, moncler ulostulon, moncler takit ulostulon verkossa, jopa 80 prosenttia, moncler takit ulostulon online – US Dollar Euro GB Pound Canadian Dollar Australian Dollar Jappen Yen Norske Krone Swedish Krone Danish Krone CNY –> Valuutat US Dollar Euro GB Pound Canadian Dollar Australian Dollar Jappen Yen Norske Krone Swedish Krone Danish Krone CNY Ryhmät Moncler 2013 miehet Moncler 2014 moncler puhdistuma – l lapset m s xs naiset Esittelyssä – … naiset moncler saappaat 8902 €1,062.99  €166.47Säästä: 84%moncler takkeja miesten 7802 €1,162.50  €232.50Säästä: 80% moncler takkeja miesten 8909 €1,161.57  €212.04Säästä: 82% Koti ::  moncler puhdistuma moncler puhdistuma Filter Results by: Tuotteet jotka alkavat kirjaimella … A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 Listattuna 1 – 15 (31 tuotteesta)  1  2  3   >>  moncler clairy alennuksen hihaton pojan liivi harmaa Kun tai lumisateen, moncler lapsia meidät niin bravo,…€1,151.34  €192.51Säästä: 83%Lisätietoja moncler clairy alennuksen hihaton pojan liivi musta Kun tai lumisateen, moncler lapsia meidät niin bravo,…€1,276.89  €192.51Säästä: 85%Lisätietoja moncler clairy alennuksen hihaton pojan liivi punainen Kun tai lumisateen, moncler lapsia meidät niin bravo,…€1,544.73  €192.51Säästä: 88%Lisätietoja moncler clairy alennuksen hihaton pojan liivi purppura Kun tai lumisateen, moncler lapsia meidät niin bravo,…€1,460.10  €192.51Säästä: 87%Lisätietoja moncler clairy alennuksen hihaton pojan liivi valkoinen Kun tai lumisateen, moncler lapsia meidät niin bravo,…€1,477.77  €192.51Säästä: 87%Lisätietoja puhdistuma moncler alas miehet takit niin kauan khaki – – koko saatavilla :3 / l / eu / 50 Tietoja Moncler: Moncler on…€1,360.59  €159.96Säästä: 88% puhdistuma moncler alas naisten takkeja kauan hiha khaki – – koko saatavilla :1 / t / eu / 36 ‘ puhdistuma moncler alas…€1,311.30  €158.10Säästä: 88% puhdistuma moncler alas naisten takkeja kauan hiha musta – koko saatavilla :1 / t / eu / 36 ‘ puhdistuma moncler alas…€2,219.91  €186.00Säästä: 92% puhdistuma moncler alas naisten takkeja niin pitkä valkoinen – koko saatavilla :0 / ien / eu / 34 ‘ puhdistuma moncler alas…€1,731.66  €159.96Säästä: 91% puhdistuma moncler alas naisten takkeja niin pitkät ruskeat – koko saatavilla :2 / m / eu / 38 ‘ puhdistuma moncler alas…€1,987.41  €156.24Säästä: 92% puhdistuma moncler alas takki miehet lyhyt kohta sininen – koko saatavilla :4 / 11 / eu / 52 mitä & # 39; on paras…€1,352.22  €150.66Säästä: 89% puhdistuma moncler alas takki miehet lyhyt kohta valkoinen – koko saatavilla :4 / 11 / eu / 52 Mikä on paras lahja…€1,195.05  €156.24Säästä: 87% puhdistuma moncler alas takki miehet mustien ja valkoisten lyhy- koko saatavilla :3 / l / eu / 50 Mikä on paras lahja…€1,464.75  €152.52Säästä: 90% puhdistuma moncler alas takki naisten lyhyt kohta kahvia. – koko saatavilla :0 / ien / eu / 34 puhdistuma moncler alas…€1,408.95  €154.38Säästä: 89% puhdistuma moncler alas takki naisten lyhyt kohta punainen – koko saatavilla :2 / m / eu / 38 puhdistuma moncler alas…€2,122.26  €149.73Säästä: 93% Listattuna 1 – 15 (31 tuotteesta)  1  2  3   >>  Koti    laivaus    Tukkukauppa    Tilauksen seuranta    kuponkeja    maksutavat    Ota meihin yhteyttä MONCLER STORE   MONCLER NAISTEN TAKIT   MONCLER MIEHEN TAKIT   MONCLER KIDS   MONCLER COAT   MONCLER VEST   MONCLER KENGÄT   Copyright © 2012 Kaikki oikeudet pidätetään. moncler lasten outlet moncler naisten takit moncler takit moncler puhdistuma blog moncler takit moncler puhdistuma About dondounemoncler.top blog
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies