Hello,
I have an Issue with Report Builder 2012, in a report with Line Chart.
I have this sample of data :
Image may be NSFW.
Clik here to view.
The Line chart used from the SQL Server Report Builder show me a chart like this :
Image may be NSFW.
Clik here to view.
As you can see, the blue line from Feb 2018 to Feb 2019 is not linked, I guess it is due to the fact that it cross the Yellow one.
I searched in this Forum and I tried a solution who looks like :
Private colorPalette As String() = {"#418CF0", "#FCB441", "#E0400A", "#05642E", "#1A3B69", "#BFBFBF", "#E0400A", "#FCB441", "DarkBlue", "Tomato", "Orange", "CornflowerBlue", "Gold", "Red", "Green", "LightBlue", "Lime", "Maroon", "LightSteelBlue", "Tan", "Silver"} Private count As Integer = 0 Private mapping As New System.Collections.Hashtable() Public Function GetColor(ByVal groupingValue As String) As String If mapping.ContainsKey(groupingValue) Then Return mapping(groupingValue) End If Dim c As String = colorPalette(count Mod colorPalette.Length) count = count + 1 mapping.Add(groupingValue, c) Return c End Function
Then I user the EmptyPoint Series property to call this Function. All details about this solution are given by this link :
https://stackoverflow.com/questions/32953222/ssrs-chart-lines-not-connecting
The problem now after using this, my chart looks like this :
Image may be NSFW.
Clik here to view.
All the Yellow Part from June 2018 to the end of the Chart does not have to be drown because my Data for this Yellow line end at June 2018.
Does Any one can help please ? I Forgot Something ?
Thank you
Project, Program & Portfolio Management