-
Hey Nazar, Thanks for giving me the direction using the DataSource. There’s one thing though, when I’m initializing the SCISeriesInfoLegendDataSource the DataSet is null, and later when we try to do dataSource1.DataSet.Add(rs1.ToSeriesInfoWithHitTest(info)); it crashes because the DataSet is null and therefore we can’t fill it with data. How do we make sure that the DataSet is not null? I tried initializing it but it doesn’t allow me to instantiate with no arguments in the constructor.
-
you should use the ctor which takes legend as a parameter.
-
There is no constructor which takes a legend as a parameter. There are 3 constructors: empty, IntPtr and NSObjectFlag.
-
The version of the package is: —— SciChart.iOS 2.2.1.839
-
Hi Lazar, there were an issue with Xamarin bindings, which is fixed in v2.2.2.854. Please try it and let us know if that works.
-
Hi Nazar. It seemed that I’ve been missing the Bleeding Edge nuget source, but I have it now. I have one more thing, I have 2 graph surfaces, 4 legends (top left right and bottom left right) and 4 legend modifiers. In the top modifier collection, I’ve added the top left and right modifier and same for the bottom modifier collection. But the result is still the same. I have only 2 legends, top and bottom. Have in mind that I’ve set the Position in the LegendModifier to be Left and Right correspondingly, but still end up with only Left legends. What could be the problem?
-
Can you help me with this one, please?
-
you can use legend independently from legendModifier and place it wherever you want
-
How would I do that? I tried wrapping it in a Legend Modifier and adding the legend modifier to the Graph Surface but it didn’t display 4 legends, but 2 legends with the data merged.
-
I tried adding it as a subview to the view, but that didn’t work as well. I’m checking the Frame of the legends, it does have Width and Height and the X and Y coordinates of the view are correct, but it still doesn’t show up.
-
at this point, i would ask you to provide some code, so we can reproduce your issue on our side. Thanks in advance