Telerik Forums
UI for WPF Forum
1 answer
116 views

When the RadLinearSparline is in AutoRange, is there a way to get the actual Y Axis Min Range and Max Range values? These values would then be displayed in a separate control.   I have bound the MinYValue and MaxYValue to properties and am able to get the values when AutoRange = false but when AutoRange = true the MinYValue and MaxY are always 0.

<telerik:RadLinearSparkline  Grid.Row="0" Grid.RowSpan="3" Grid.Column="1"
                                       ItemsSource="{Binding AsyncData, Converter={StaticResource collectionConverter}}"
                                                                
                                       YValuePath="YVal"
                                       LineStroke="{Binding FontColor}"
                                       ShowNormalRange="True"
                                       AutoRange="{Binding AutoRange}"
                                       MinYValue="{Binding MinYvalue}"
                                       MaxYValue="{Binding MaxYvalue}"
                                       NormalRangeTop="{Binding Maximum}"
                                       NormalRangeBottom="{Binding Minimum}"
                                       EmptyPointBehavior="DropPoint"
                                                                >

 

 

Vladimir Stoyanov
Telerik team
 answered on 22 Jul 2020
1 answer
55 views

Is there any way of replicating the look of a Step Line series (as in the RadChartView) in a Sparkline? I.e, instead of drawing lines straight between points, it treats points as "rising edges?"

 

Thanks

Martin Ivanov
Telerik team
 answered on 10 Nov 2017
9 answers
62 views

Is it possible for the sparkline points to have unique tooltips?  I'd like the user to be able to hover over the sparkline and see XValue and YValue in a tooltip.

 

Thanks,

Bryan
Top achievements
Rank 1
 answered on 01 Jun 2017
1 answer
46 views

I want to have a MarkerBrush based on a property of the data object being bound to. For example,

 

```

class MyDataPoint

{

   public DateTime XValue {get;set;}

   public double YValue {get;set;}

   public bool IsRed {get; set;}

}

```

 

I want all points where IsRed=true to be rendered red, and blue when false. Is it possible? 

I've made a Style with TargetType IndicatorItem and used DataTriggers but the style is always overridden with the default marker colour,

Evgenia
Telerik team
 answered on 29 Jul 2016
1 answer
36 views
Hi,

I would like to use sparklines in a gridview. The control closer to my needs seem to be the RadScatterSparkline.
I need exactly a points chart but I would like to be able to draw one to two additional lines on demand.
Those line need to be horizontal straight line and reprensent target number or min or max, etc.
1. I need to add one to two straight lines.
2. I need to get bigger dots.
3. I need to get separate color for each dot.

Here's a picture of what I'm talking about.

Is it possible to achieve that with a RadScatterSparkline or other controls?

Thank you for your help!
Petar Marchev
Telerik team
 answered on 17 Oct 2014
2 answers
38 views
Hello,

i am using a RadColumnSparkline bind to an ObservableCollection in my RadTimeBar.
Is there a similar mechanism like the CombineMode from the BarSeries available or can i pass a BarSeries to RadColumnSparkline?

best wishes & thanks
j
ara
Top achievements
Rank 2
 answered on 04 Feb 2014
2 answers
64 views
Hello,
Is it possible to have the spark line above axis line? The problem is when data are zero, the spark line is hidden under axis line, the same as if there is no data...

Thanks
Stephane
Stéphane
Top achievements
Rank 1
Iron
 answered on 06 Sep 2013
8 answers
170 views
Hi,
We are using SparkLine in one column of GridView, we are getting issue that when user scrolls the grid down and move back then extra dots are visible in the grid. Please find the issue in attached image and we have also attached the sample code to regenerate the issue.
we are using 2011.2.712.40 library build.

Image file
sparkline.jpg

Sample code
how can we attach the code?
Thanks
Tsvetie
Telerik team
 answered on 16 Apr 2013
1 answer
126 views
Hello, someone could help me with my graphics viewing, I have attached two images to demonstrate what happens, as I have a value over 9000 other minors are not displayed.

Sorry Google Translator :D
Petar Marchev
Telerik team
 answered on 29 Nov 2012
1 answer
91 views
I am binding a RadSparkline against an INotifyCollectionChanged object. This object is NOT an ObservableCollection<>. It is raising CollectionChanged, with Action: Add, with StartingIndex as -1. This should be allowed when the collection is unordered, as mine is. However, RadSparkline is throwing an exception:

ArgumentOutOfRangeException Index must be within the bounds of the List.
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.Insert(Int32 index, T item)
   at Telerik.Windows.Controls.ProjectedView`1.ObservableSourceListCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\DataVisualization\Common\DataProjection\ProjectedView.cs:line 179

I am going to solve this problem by making a temporary ObservableCollection, and adding new items to the end of it as they arrive. However, this should not be required.
Tsvetie
Telerik team
 answered on 19 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Bronze
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Bronze
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?