Completed
Last Updated: 04 Apr 2019 13:43 by ADMIN
Release R2 2019 (LIB 2019.1.408)
Thomas
Created on: 22 Mar 2019 08:36
Category: UI for WinForms
Type: Feature Request
1
RadChartView: Add an API to apply settings on the Pen object used to paint the line of the ChartTrackballController
Currently, the DashStyle cannot be changed.
2 comments
Dimitar
Posted on: 04 Apr 2019 13:43
 Hello, 


A Fix will be available in LIB Version 2019.1.408 scheduled for April 8th.

Added new event: PenInitialized in the ChartTrackballController class. It can be used as follows:

ChartTrackballController controller = new ChartTrackballController();
controller.PenInitialized += this.Controller_PenInitialized;
...
private void Controller_PenInitialized(object sender, PenInitializedEventArgs e)
{
    e.Pen.Width = 6;
    e.Pen.DashCap = System.Drawing.Drawing2D.DashCap.Triangle;
    e.Pen.DashStyle = System.Drawing.Drawing2D.DashStyle.DashDotDot;
    e.Pen.DashOffset = 50;
    e.Pen.StartCap = System.Drawing.Drawing2D.LineCap.DiamondAnchor;
    e.Pen.EndCap = System.Drawing.Drawing2D.LineCap.ArrowAnchor;
}

 

Regards,

Dimitar

 

ADMIN
Hristo
Posted on: 22 Mar 2019 08:40
Hi,

The ChartTrackballController can expose properties and later set them on the Pen object. We are already doing this with the line color and width. It will be good to expose other settings as well.

Regards,
Hristo
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.