Skip Navigation

[Resolved] Create and edit charts using Toolset Forms? Or hooking to Ninja charts?

This support ticket is created 3 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Raymond 3 years, 9 months ago.

Assisted by: Jamal.

Author
Posts
#2056195

Tell us what you are trying to do?
I would like the user to—via a form—create and edit charts, perhaps passing the data to a 3rd party chart plugin like Ninja charts.

Is there any documentation that you are following?
I've been looking at some documentation for Ninja charts, but not sure they use a custom post type or any kind of field that Toolset could access.

Is there a similar example that we can see?
On the site I am working with, I've used Toolset to make Entry and Edit forms for normal data. But nothing that connects to chart data...

What is the link to your site?
hidden link

If there's a generic answer—maybe this just isn't doable!—that would be good enough. I would like to know HOW (and IF) this can be done. I don't need you to do it for me on this test site.

Ray

#2056685

Hello Ray and thank you for contacting the Toolset support.

I am not familiar with the Ninja Charts plugin. I searched online and I couldn't find anything related to custom fields. It seems that it only accepts manual input or automatic integration to Ninja Tables and Fluent Forms.
The Ninja Tables plugin seems to have an addon for custom fields, I imagine that it could be used to pull Toolset custom fields data.
hidden link
However, I am afraid, that the complex Toolset data structure wouldn't be pulled automatically(checkboxes, radios, relationships, etc.). I assume that simpler structures will be handled correctly(single line, select, number, phone, email, WYSIWYG, etc.)

I also couldn't find any developer documentation for Ninja Charts that offers hooks, filters or actions, to manipulate data or charts.

This being said, and from a Toolset perspective, I would say, that it would be easier to use a Javascript charting library with Toolset views. You can pass the data from Toolset views using data attributes.
- hidden link

These are some charting library that supports jQuery. Please note, that you will use them at your own risk:
- hidden link
- hidden link
- hidden link

#2056797

My issue is resolved now. Thank you!