Hi,
I have tried to provide a tool tip in legend area on mouse move event and it was created in the fillscenegraph event.
Also, the selection of the chart type is "Line Chart" and the application platform is .Net Framework 3.5 & Infragistics version is 2009.1
Below code is used to customize the legend area,
private Primitive LastPrimitive { get; set; } void UltraChart1_FillSceneGraph(object sender, Infragistics.UltraChart.Shared.Events.FillSceneGraphEventArgs e) { PrimitiveCollection primitivesToAdd = new PrimitiveCollection(); foreach (Primitive p in e.SceneGraph) { if (p.Path != null && p.Path.Contains("Legend")) { p.Layer = e.ChartCore.GetChartLayer(); if (p is Box) { this.LastPrimitive = p; } else if (p is Text) { Text t = (Text)p; p.Row = 0; p.Column = 0; p.Value = this.LastPrimitive.Value; Box newBox = new Box(t.bounds); newBox.PE.FillOpacity = newBox.PE.StrokeOpacity = 0; newBox.Row = p.Row; newBox.Column = p.Column; newBox.Chart = p.Chart; newBox.Layer = p.Layer; newBox.Value = p.Value; newBox.Caps = PCaps.HitTest | PCaps.Skin | PCaps.Tooltip; primitivesToAdd.Add(newBox); } } } e.SceneGraph.AddRange(primitivesToAdd.ToArray()); }
When the mouse moves on legend area, the tool tip displays without issues and if the scrollbar is disabled.
But, the same is not displaying on while setting the property EnableScrollbar = true.
Please assist us to overcome from this issue.
Thanks in advance and hope will wait for the quick response.
Best regards,
Rithanya
Hello Rithanya,
If you need any additional assistance feel free to write us.
Regards
After some research, the "Ability" has been determined to be a new product idea. I have sent your idea directly to our product management team. Our product team chooses new ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time. Your reference number for this product idea is PI13030074.If you would like to follow up on your request at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.comThank you for your request.
Hi Georgi,
I have tried with your sample code. But our expectation is not reached to view the tool tip on mouse over in leegned area with the chart scroll bar option is enabled(EnableScrollbar = true).
Please refer the attached sample file on this.
Thanks for the replies.
Best Regards,
Rithanya.
Thanks for the info. Let me know if you have any questions.
Thanks for the sample code.
Let me try it and get back you.