Posts

Showing posts from 2013

Web.config

Web.config Web.config is the main settings and configuration file for a web application. The file is an XML document that defines configuration information regarding the web application. Where is SharePoint web.config? There is a separate web.config file for each Web Application / IIS Website which is running an instance of SharePoint.  For example, there will be a web.config file in the root of the virtual directory for each application. There is also a separate web.config file which contains configuration details for the "_layouts", "_catalogs", etc directories of SharePoint sites. see this link for more info Locatiom: Drive\Inetpub\Wwwroot\WSS\VirtualDirectories\<port number of your web-application>\web.config see this link for more details

Silverlight Chart: Displaying Data Above the Bar

Image
BarSeries bar value in top of the column in silverlight chart:    Your final output will come like this XAML code:   Style :   Add the following Style to your xaml code    <UserControl.Resources>         <Style x:Key=" SeriesStyle1 " TargetType=" toolkit:DataPoint ">             <Setter Property="Control.Background" Value="Brown"></Setter>             <Setter Property="Control.Foreground"  Value="White"></Setter>             <Setter Property="MinHeight" Value="10" ></Setter>             <Setter Property="MaxHeight" Value="20" ></Setter>             <Setter Property="Control.Template" >                 <Setter.Value>        ...

silverlight stacked bar chart example

Image
SilverLight  stacked bar chart example:                          In this example i explained  simple stacked bar series chart in silverilght. I directly go to the coding part. OutPut Screen  :  Xaml Code : Paste the following code between user control  < Grid  x:Name =" LayoutRoot " Background=" White ">          < toolkit:Chart  HorizontalAlignment ="Left"  Margin =" 4,22,0,0 " Name=" chart1 "  Title =" chart1 " VerticalAlignment="Top" Height=" 274 " Width=" 417 ">              < toolkit:StackedBarSeries >                                < toolkit:SeriesDefinition Title=" Pass " ItemsSource="{ Binding }" IndependentValueBinding="{Binding Month}"  DependentValueBinding="{ Binding  Pas...

SilverLight chart rotate axis label

Image
SilverLight Column chart rotate axis Example :                           In this example i explained  how to rotate x axis label of a Column series chart in silverilght. I directly go to the coding part. Note: You can do this for all kind of charts in silverlight by changing X and Y axis based on your  requirements . OutPut Screen  :  Add the following dll to your References: Add the Following name space in xaml code:   xmlns:layout=" clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolki t"   Xaml Code : Paste the following code between user control  < Grid  x:Name =" LayoutRoot " Background=" White ">         < toolkit:Chart  HorizontalAlignment ="Left"  Margin ="12,12,0,0" Name=" chart1 "  Title ="chart1" VerticalAlignment="Top" Height="266" Width="365">   ...