SPJS Chart v5 – Chart Filter

Forums SPJS Charts for SharePoint SPJS Chart v5 – Chart Filter

Viewing 2 reply threads
  • Author
    Posts
    • #11734
      Jhap
      Participant

      Hi Sir Alexander,

      I used the v4 chart code in CEWP to filter the chart, but I am getting this error The variable “myCustomFilterOptions” is undefined.

      Below is my chart filter code.

      
      
      [
      	{
      		"label": "Month",
      		"key": "Month",
      		"multiselect": false,
      		"size": 3,
      		"filterAdditionalCharts": [],
      		"options": [{var:myCustomFilterOptions}]
      	}
      ]
      • This topic was modified 7 years, 11 months ago by Jhap.
    • #11749
      Jhap
      Participant

      HI Sir Alexander,

      Ignore this please. I got it working.

      Thank you.

    • #11775
      Alexander Bautz
      Keymaster

      I’m glad you figured it out. For reference, here is the section in the user manual: https://spjsblog.com/spjs-charts-for-sharepoint/spjs-charts-for-sharepoint-user-manual/#Using_variables_in_CAML_Query_and_filter

      PS: The manual is still not completed – will work on it for the “prod” release hopefully later next week.

      Alexander

Viewing 2 reply threads
  • You must be logged in to reply to this topic.