Jump to content
Software FX Community

jovstaas

Members
  • Posts

    2
  • Joined

  • Last visited

jovstaas's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I tried the PrePaint event, but my line appears on the back side of the plotting area. If I draw a line from e.g. position (0,0) I can see the starting point of the line, but then it disappears under the plot area. How can I create a graphics object from the plot area? It is important for me to keep the interactivity with the chart. Example code: Graphics g = chart1.CreateGraphics();Pen pen = new Pen(Color.Red); pen.Width = 10; g.DrawLine(pen, 0, 0, chart1.Width, chart1.Height); pen.Dispose(); g.Dispose();
  2. Hi, I'm porting an old Fortran program (engineering application) which creates deflection charts as HP-files. An example of the old chart is attached.It seems to be fairly easy to plot the same deflections using ChartFX, but I also need to plot/draw the "bearing symbols" in the attached sample. These are some straight lines on top and botton of the deflection curve. I have marked them with a red rectangle in the example. Can I use GDI or similar to plot the "bearing symbols"?
×
×
  • Create New...