In my attempt to test Highcharts to pull Webform values, the pie chart does not appear. These errors appear on the top:

Notice: Undefined index: options_source in _webform_select_options() (line 854 of testenviron/sites/all/modules/webform/components/select.inc).
Notice: Undefined index: options_source in _webform_select_options() (line 854 of testenviron/sites/all/modules/webform/components/select.inc).
Notice: Undefined index: version in charts_highcharts_library() (line 28 of testenviron/sites/all/modules/charts/modules/charts_highcharts/charts_highcharts.module).

Comments

surikato’s picture

I had this error, too.

Notice: Undefined index: version in charts_highcharts_library() (line 28 of testenviron/sites/all/modules/charts/modules/charts_highcharts/charts_highcharts.module).

After I read the readme.txt and followed the instruction to install highcharts, the error disappeared.

####### readme.txt #######
If you decide to use the Highcharts library, you'll need to first install the
Libraries module for Drupal: https://drupal.org/project/libraries

Then you'll need to download Highcharts and place it in sites/all/libraries
directory. The highcharts.js file should be located at:
sites/all/libraries/highcharts/highcharts.js.
You will also need to remove a
directory called "exporting-server" within the Highcharts download. This
directory contains sample code for exporting charts that may compromise the
security of your site. The module will throw an error if this directory is left
in place.

quicksketch’s picture

Category: bug » support
Status: Active » Fixed

Thanks @surikato. I think you're right. The notices from Webform seem unrelated.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Edited path

mlhyyl’s picture

Issue summary: View changes

Thanks, did the magic.