- Timestamp:
- Aug 7, 2017, 9:31:17 AM (9 years ago)
- Location:
- trunk/Ohana/src/libkapa
- Files:
-
- 2 edited
-
include/kapa.h (modified) (1 diff)
-
src/KapaStyles.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libkapa/include/kapa.h
r39926 r40106 38 38 // retain historical numerical definitions: 39 39 typedef enum { 40 KAPA_PLOT_INVALID_MIN = -1, 41 KAPA_PLOT_CONNECT = 0, 42 KAPA_PLOT_HISTOGRAM = 1, 43 KAPA_PLOT_POINTS = 2, 44 KAPA_PLOT_INVALID_MAX = 3, 40 KAPA_PLOT_INVALID_MIN = -1, 41 KAPA_PLOT_CONNECT = 0, 42 KAPA_PLOT_HISTOGRAM = 1, 43 KAPA_PLOT_BARS_SOLID = 2, 44 KAPA_PLOT_BARS_OUTLINE = 3, 45 KAPA_PLOT_BARS_OUTFILL = 4, 46 KAPA_PLOT_POINTS = 5, 47 KAPA_PLOT_INVALID_MAX = 6, 45 48 } KapaPlotStyle; 46 49 -
trunk/Ohana/src/libkapa/src/KapaStyles.c
r39926 r40106 46 46 if (!strcasecmp (string, "line")) return KAPA_PLOT_CONNECT; 47 47 if (!strcasecmp (string, "histogram")) return KAPA_PLOT_HISTOGRAM; 48 49 if (!strcasecmp (string, "bars")) return KAPA_PLOT_BARS_SOLID; 50 if (!strcasecmp (string, "obars")) return KAPA_PLOT_BARS_OUTLINE; 51 if (!strcasecmp (string, "fbars")) return KAPA_PLOT_BARS_OUTFILL; 52 if (!strcasecmp (string, "bars_outline")) return KAPA_PLOT_BARS_OUTLINE; 53 if (!strcasecmp (string, "bars_outfill")) return KAPA_PLOT_BARS_OUTFILL; 54 if (!strcasecmp (string, "outline")) return KAPA_PLOT_BARS_OUTLINE; 55 if (!strcasecmp (string, "outfill")) return KAPA_PLOT_BARS_OUTFILL; 48 56 49 57 if (strlen(string) > 2) {
Note:
See TracChangeset
for help on using the changeset viewer.
