Click here to Skip to main content
15,917,645 members
Home / Discussions / WPF
   

WPF

 
QuestionProblem Setting Image At Runtime Pin
Kevin Marois26-Sep-11 9:32
professionalKevin Marois26-Sep-11 9:32 
QuestionByte array to image Pin
columbos1492726-Sep-11 3:32
columbos1492726-Sep-11 3:32 
AnswerRe: Byte array to image Pin
Pete O'Hanlon26-Sep-11 3:37
mvePete O'Hanlon26-Sep-11 3:37 
GeneralRe: Byte array to image Pin
columbos1492726-Sep-11 3:47
columbos1492726-Sep-11 3:47 
GeneralRe: Byte array to image Pin
Pete O'Hanlon26-Sep-11 3:55
mvePete O'Hanlon26-Sep-11 3:55 
GeneralRe: Byte array to image Pin
columbos1492726-Sep-11 3:58
columbos1492726-Sep-11 3:58 
GeneralRe: Byte array to image Pin
Pete O'Hanlon26-Sep-11 4:04
mvePete O'Hanlon26-Sep-11 4:04 
QuestionIs silverlight dead? Pin
sasolanki00725-Sep-11 20:41
sasolanki00725-Sep-11 20:41 
AnswerRe: Is silverlight dead? Pin
Richard MacCutchan25-Sep-11 23:19
mveRichard MacCutchan25-Sep-11 23:19 
AnswerRe: Is silverlight dead? Pin
Pete O'Hanlon26-Sep-11 1:09
mvePete O'Hanlon26-Sep-11 1:09 
AnswerRe: Is silverlight dead? Pin
Ranjit Shankar16-Apr-20 21:19
professionalRanjit Shankar16-Apr-20 21:19 
QuestionSummation of multiple datagrids Pin
Mats Westin23-Sep-11 5:33
Mats Westin23-Sep-11 5:33 
QuestionCovariance-Contravariance help please! Pin
DotNetXenon23-Sep-11 4:02
DotNetXenon23-Sep-11 4:02 
AnswerRe: Covariance-Contravariance help please! Pin
Mycroft Holmes23-Sep-11 12:18
professionalMycroft Holmes23-Sep-11 12:18 
QuestionWCF service call in which layer? Pin
DotNetXenon22-Sep-11 8:32
DotNetXenon22-Sep-11 8:32 
AnswerRe: WCF service call in which layer? Pin
Mycroft Holmes22-Sep-11 12:50
professionalMycroft Holmes22-Sep-11 12:50 
GeneralRe: WCF service call in which layer? Pin
DotNetXenon23-Sep-11 8:07
DotNetXenon23-Sep-11 8:07 
AnswerRe: WCF service call in which layer? Pin
Abhinav S24-Sep-11 21:34
Abhinav S24-Sep-11 21:34 
QuestionWCF Service list Pin
DotNetXenon22-Sep-11 5:47
DotNetXenon22-Sep-11 5:47 
AnswerRe: WCF Service list Pin
Jürgen Röhr22-Sep-11 8:02
professionalJürgen Röhr22-Sep-11 8:02 
GeneralRe: WCF Service list Pin
DotNetXenon22-Sep-11 8:13
DotNetXenon22-Sep-11 8:13 
Questionproblem in showing x-axix value in multi series line chart in silverlight4 Pin
Mann Saini22-Sep-11 3:12
Mann Saini22-Sep-11 3:12 
i have one multi series line chart. i m displaying datetime on x-axis. i have rotate my datetime values by 270 degree angle. now problem is that x-axis values showing on two places on chart. one at bottom and aother at top of chart area. i need only one x-axis valur as we do in any standard chart.
my code is:
XML
<UserControl xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
             xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"  x:Class="TestExcelChart.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
   xmlns:charting="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
    xmlns:layout="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit"


             mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <UserControl.Resources>

    </UserControl.Resources>

        <Canvas x:Name="LayoutRoot" Background="White" Width="600"  >

        <sdk:TabControl x:Name="pnlxlChart"  TabStripPlacement="Top" VerticalAlignment="Top"
                Height="700" Width="600"  HorizontalAlignment="Left" Canvas.Left="24"
                >
            <sdk:TabItem  Height="20" Header=" Excel Data">
                <StackPanel>
                    <sdk:DataGrid x:Name="excelData"  AutoGenerateColumns="False"  />
                </StackPanel>
            </sdk:TabItem>
            <sdk:TabItem  Height="20" Header="Column Chart">
                <!--<charting:Chart x:Name="colchart" >
                    <charting:Chart.Series>
                        <charting:ColumnSeries >

                        </charting:ColumnSeries>
                    </charting:Chart.Series>

                </charting:Chart>-->
            </sdk:TabItem>
            <sdk:TabItem Height="20" Header="Line Chart">

                <charting:Chart x:Name="LineChart" Grid.Row="2" Title="Line Chart"  Height="500">
                    <charting:Chart.Series>
                        <charting:LineSeries  DataContext="users"
                           IndependentValuePath="Name" DependentValuePath="Score" >
                            <charting:LineSeries.IndependentAxis>
                                <charting:CategoryAxis  Orientation="X">
                                    <charting:CategoryAxis.AxisLabelStyle>
                                        <Style TargetType="charting:AxisLabel">
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="charting:AxisLabel">
                                                        <layout:LayoutTransformer>
                                                            <layout:LayoutTransformer.LayoutTransform>
                                                                <RotateTransform Angle="270"/>
                                                            </layout:LayoutTransformer.LayoutTransform>
                                                            <TextBlock Text="{TemplateBinding FormattedContent}" RenderTransformOrigin="0.5,0.5"/>
                                                        </layout:LayoutTransformer>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </charting:CategoryAxis.AxisLabelStyle>
                                </charting:CategoryAxis>
                            </charting:LineSeries.IndependentAxis>

                        </charting:LineSeries>
                        <charting:LineSeries  DataContext="users"
                           IndependentValuePath="Name" DependentValuePath="Score2" >
                            <charting:LineSeries.IndependentAxis>
                                <charting:CategoryAxis  Orientation="X">
                                    <charting:CategoryAxis.AxisLabelStyle>
                                        <Style TargetType="charting:AxisLabel">
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="charting:AxisLabel">
                                                        <layout:LayoutTransformer>
                                                            <layout:LayoutTransformer.LayoutTransform>
                                                                <RotateTransform Angle="270"/>
                                                            </layout:LayoutTransformer.LayoutTransform>
                                                            <TextBlock Text="{TemplateBinding FormattedContent}" RenderTransformOrigin="0.5,0.5" />
                                                        </layout:LayoutTransformer>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </charting:CategoryAxis.AxisLabelStyle>
                                </charting:CategoryAxis>
                            </charting:LineSeries.IndependentAxis>
                        </charting:LineSeries>

                    </charting:Chart.Series>
                </charting:Chart>


            </sdk:TabItem>

        </sdk:TabControl>







    </Canvas>

</UserControl>

QuestionOpen a XAML page from aspx page Pin
yesu prakash21-Sep-11 20:30
yesu prakash21-Sep-11 20:30 
AnswerRe: Open a XAML page from aspx page Pin
RichardGrimmer22-Sep-11 5:14
RichardGrimmer22-Sep-11 5:14 
QuestionSL Content not displaying Pin
JMurfey20-Sep-11 9:58
JMurfey20-Sep-11 9:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.