hi
how can disable special LegendElement ?
i want the series in enable but title is disable
hi
How can this space be reduced?
Good evening, I have a small inconvenience, I want to show a vertical line in the highest value of the chart, but when I try to do it, it shows the line vertically. Any suggestions? Thanks.
this code:
var max_linea = listaDatos.Max();
var min_linea = listaDatos.Min();
var posicion = listaDatos.IndexOf(listaDatos.Max());
CartesianGridLineAnnotation annotation1 = new CartesianGridLineAnnotation();
annotation1.Axis = this.ChartSuspension.Axes[1] as CartesianAxis;
annotation1.Value = max_linea;
annotation1.BorderColor = Color.Red;
annotation1.BorderDashStyle = DashStyle.Solid;
annotation1.BorderWidth = 1;
this.ChartSuspension.Annotations.Add(annotation1);
CartesianGridLineAnnotation annotation2 = new CartesianGridLineAnnotation();
annotation2.Axis = this.ChartSuspension.Axes[0] as CartesianAxis;
annotation2.Value = posicion;
annotation2.BorderColor = Color.Blue;
annotation2.BorderDashStyle = DashStyle.Solid;
annotation2.BorderWidth = 1;
this.ChartSuspension.Annotations.Add(annotation2);
hi
is it possible set different shape for each legend?
in fact each series have different shape for points,i want the shape of legend is same
I want to change cursor from default to hand cursor when I hover cursor over the rectangle showing the color of the legend item.
How to achieve this?
I would want that area of ChartElement was fixed and I was able to move an ChartElement
when using the zoom. How I can do it?
class
Zoom
{
static
double
horizontalScale = 1;
static
double
verticalScale = 1;
public
static
double
HorizontalScale
{
get
{
return
horizontalScale;
}
set
{
horizontalScale = Math.Max(1, value);
}
}
public
static
double
VerticalScale
{
get
{
return
verticalScale;
}
set
{
verticalScale = Math.Max(1, value);
}
}
}
private
void
radChartViewAnalysis_MouseWheel(
object
sender, System.Windows.Forms.MouseEventArgs e)
{
Zoom.HorizontalScale += e.Delta / 3000.0;
Zoom.VerticalScale += e.Delta / 3000.0;
radChartViewAnalysis.ChartElement.View.Zoom(Zoom.HorizontalScale, Zoom.VerticalScale);
}