Ploting charts

Hello
I create this script to plot chart and i need some informations to improve it
How i can:

  1. Update the form using Form.Update() or another way?
  2. Keep the window always above Grasshopper window?
  3. Fix the position on the screen?
  4. Change x values?

chart.gh (9.8 KB)

2 Likes

You want to show the form with the Grasshopper active canvas window as the parent window

import Grasshopper

....

form.Show(Grasshopper.Instances.ActiveCanvas)
1 Like

Thank you worked excellent

2,3,4 solved just the update, i tried with Form.Update() and Chart.Update() but don’t work

How to set the ComboBox change the chart automatically when the selected item changed?

chart.gh (15.6 KB)

If someone want make improvement

chart2.gh (13.1 KB)

4 Likes