The first problem is more critical, the second I have browsed the forum and it seems to have no solution at least for now, and it seems that they are collecting votes to change it, when drawing onrender I sometimes get a text that is too long, I solve it with this ;
private void ChartControl_MouseWheel(object sender, System.Windows.Input.MouseWheelEventArgs e)
{
scrollOffsetY -= e.Delta * scrollStep / 120.0f; // e.Delta es normalmente un múltiplo de 120
// Limitar el desplazamiento mínimo y máximo según el tamaño del contenido
scrollOffsetY = Math.Max(scrollOffsetY, 0); // No permitir desplazamiento negativo
// Puedes añadir una restricción máxima basada en el tamaño del contenido si es necesario
// Redibujar el gráfico
ChartControl.InvalidateVisual();
}
It works perfectly but it also moves the background graphic, I would like that while the drawing is active the graphic does not move horizontally, but I can't do it.
thank you very much again

Comment