Telerik Forums
UI for WPF Forum
3 answers
395 views
Hello,

I've run into some issues with the RadCartesianChart where I want to display only integer values along the LinearAxis. It does not make sense to measure the item I'm plotting along this axis in decimals. Another thing I'd like is to have a DesiredTickCount of 5. I've tried setting the label format to not show decimals but then this leads to weirdness when the Maximum value calculated by the control is very low (ex. Maximum of 1 shows me 5 ticks with the labels of (blank), (blank), 1, 1, 2). I also tried to set the Major Step to 1 but that caused issues with the DesiredTickCount of 5 when the Maximum was greater than 5.

Is there some way to force the chart to only calculate in Integers? Or set the, for lack of better words, Minimum Maximum to just 5 so it calculates the ticks as integers?

Here is the code for my VerticalAxis:
<telerik:RadCartesianChart.VerticalAxis>
    <telerik:LinearAxis DesiredTickCount="5" Minimum="0">
        <telerik:LinearAxis.LabelTemplate>
            <DataTemplate>
                <TextBlock MinWidth="40" Margin="0,0,3,0" Text="{Binding}" TextAlignment="Right" />
            </DataTemplate>
        </telerik:LinearAxis.LabelTemplate>
    </telerik:LinearAxis>
</telerik:RadCartesianChart.VerticalAxis>
Petar Kirov
Telerik team
 answered on 25 Sep 2013
2 answers
73 views
I'm using the RadVerticalLinearGauge, with a VerticalLinarScale and two indicators: a bar indicator and a marker indicator. The marker needs to be interactive (to be used as a threshold), while the bar indicator needs to be completely non-interactive. 

I've got the IsInteractive field set to "True" on the VerticalLinearScale, but I can't find any way to restrict that interactivity to just one indicator.
Evan Weeks
Top achievements
Rank 1
 answered on 24 Sep 2013
3 answers
727 views
I'm trying to specify the color for a set LineSeries (the number of which is dynamic) all to the same color. However, the Stroke Style Setter isn't having any effect. Taking the "Dynamic Number of Series" example from your documentation here:

http://www.telerik.com/help/wpf/radchartview-features-chartseriesprovider.html

and simply adding the Stroke color to the existing style:

                        <telerik:CategoricalSeriesDescriptor ItemsSourcePath="SalesData" ValuePath="Sales" CategoryPath="MonthName" CollectionIndex="2">
                            <telerik:CategoricalSeriesDescriptor.Style>
                                <Style TargetType="telerik:LineSeries">
                                    <Setter Property="StrokeThickness" Value="2"/>
                                    <Setter Property="Stroke" Value="Blue"/>
                                </Style>
                            </telerik:CategoricalSeriesDescriptor.Style>
                        </telerik:CategoricalSeriesDescriptor>

does not affect the color of the line on the chart. Adjustments to the StrokeThickness do affect the Chart, and if I change the Stroke on the LineSeries after-the-fact in code-behind it takes effect, but how can I change it for all the dynamic series generated by a SeriesProvider?

Thanks,
Louis
Milena
Telerik team
 answered on 24 Sep 2013
1 answer
69 views

Hello,

Im using pdf viewer controls , i am trying to integrate it into scatterviewitem,
but the container is blank.
Has anyone tried to do such a similar thing and can give me some suggestions?

 Thanks

private void LoadPdf()
       {
           PdfControl pdfbook = new PdfControl
           { DocSource = (string) @"C:\Users\Getimage\Desktop\Info\script.pdf" };
          
           var svi = new ScatterViewItem();
           svi.Content = pdfbook;
          
           MainScatterView.Items.Add(svi);
          
       }

Kammen
Telerik team
 answered on 24 Sep 2013
1 answer
82 views
    • Hi Support,

      We are currently evaluating your DataGrid for our Project, The main course of our project is to allow customers to print the Grid from the Window. We would like to know about the features you are supporting for printing the Grid. We went through your documentation, but that didn't assist us. Any advice on this would be highly helpful.

      Thanks, 
      Sankar

Dimitrina
Telerik team
 answered on 24 Sep 2013
1 answer
105 views
Hi,

it is possible to change the tooltip for an appointment easily! But how do I display the Text of an Resource out of the appointment o´n
my tooltip?

Thanks
Best Regards
Rene
Kalin
Telerik team
 answered on 24 Sep 2013
1 answer
84 views
Hi,

I want functionality, where i want to export multiple controls  on same excel sheet,

below can be permutation

Datagrid and Chart Side by side etc?

can we do?

Dimitrina
Telerik team
 answered on 24 Sep 2013
12 answers
377 views
Hi,

In rad grid view filtering drop down if i select an item from list of items then select all button is selected automatically.

we want select all button to be selected if all items are selected in the list. Is there any way to override this default behaviour of rad grid view filtering drop down.

Looking forward for your reply.

Thanks And Regards,
David
Top achievements
Rank 1
 answered on 24 Sep 2013
1 answer
112 views
Hi, I am new using Telerik controls and WPF, I saw the executive dashboard demo and I would like to create a chart like the one showing sales by product. I am reviewing the code but I don´t really understad it, I think the control that is used is a BulletGraph.

There is this Page where you can see how to create a BulletGraph, but I don't know how to show the lines for the actual value and the target value.

Does anyone have an example to achieve a chart like that one?

Thanks,

Alberto


Evgenia
Telerik team
 answered on 24 Sep 2013
1 answer
70 views

When I add below  code in RadMenuItem and Trigger the print action , Mygrid is not binded and  TargetObject is null in invoke method.
It works fine for other system windows controls . Please help me to fix this issue.


 <telerik:RadMenuItem Header="Print">
i:EventTrigger EventName="Click">
                        <actions:PrintAction DocumentName="DocName" TargetName="MyGrid"  
                               TargetObject="{ Binding ElementName=MyGrid }"
                                   />
                </i:EventTrigger>
.......
.......
Rosen Vladimirov
Telerik team
 answered on 24 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?