Microchip® Advanced Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Plot widget grid options

These options can be ORed together to specify the behaviour of a plot widget grid when adjusting it via wtk_plot_set_grid.

grid orientation options.

For use with the option parameter of wtk_plot_set_grid

#define WTK_PLOT_GRID_VERTICAL   (1 << 0)
 Draw horizontal grid lines along the vertical axis. More...
 
#define WTK_PLOT_GRID_HORIZONTAL   (1 << 1)
 Draw vertical grid lines along the horizontal axis. More...
 

axis orientation options.

For use with the option parameter of wtk_plot_set_grid

#define WTK_PLOT_TICKS_VERTICAL   (1 << 2)
 Draw tick marks along the vertical axis. More...
 
#define WTK_PLOT_TICKS_HORIZONTAL   (1 << 3)
 Draw tick marks along the horizontal axis. More...
 

zero line options.

For use with the option parameter of wtk_plot_set_grid

#define WTK_PLOT_ZERO   (1 << 4)
 Draw the zero line. More...
 

#define WTK_PLOT_GRID_HORIZONTAL   (1 << 1)

Draw vertical grid lines along the horizontal axis.

Referenced by wtk_plot_grid_draw().

#define WTK_PLOT_GRID_VERTICAL   (1 << 0)

Draw horizontal grid lines along the vertical axis.

Referenced by wtk_plot_grid_draw().

#define WTK_PLOT_TICKS_HORIZONTAL   (1 << 3)

Draw tick marks along the horizontal axis.

Referenced by wtk_plot_grid_draw().

#define WTK_PLOT_TICKS_VERTICAL   (1 << 2)

Draw tick marks along the vertical axis.

Referenced by wtk_plot_grid_draw().

#define WTK_PLOT_ZERO   (1 << 4)

Draw the zero line.

Referenced by wtk_plot_grid_draw().