[Feature Request]: add the possibility to generate charts #2559

Closed
opened 2026-02-05 04:30:05 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @IOTech17 on GitHub (Jan 5, 2022).

Describe the feature you'd like

Hi,

Could you implement https://www.chartjs.org/ into bookstack to help generate any kind of charts?

Describe the benefits this feature would bring to BookStack users

Generating chart easely without requiring an external application

Additional context

No response

Originally created by @IOTech17 on GitHub (Jan 5, 2022). ### Describe the feature you'd like Hi, Could you implement https://www.chartjs.org/ into bookstack to help generate any kind of charts? ### Describe the benefits this feature would bring to BookStack users Generating chart easely without requiring an external application ### Additional context _No response_
OVERLORD added the 🌔 Out of scope🔨 Feature Request labels 2026-02-05 04:30:05 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jan 5, 2022):

Thanks for the request @AC-WhiteGlint.

This request is asking quite a lot in reality, since we'd need to build in the systems and interfaces to support data input, chart configuration, display handling, editor integration and export support. In addition, I try to keep user content away from proprietary formats which chart.js would effectively be unless we support another intermediary format.

The advised benefit if not "requiring an external application" is fairly weak since that could apply to almost any feature request, it's not really clear how this would fit into the system or how the build and maintenance effort would be worthwhile. Note, I think you could technically draw out a chart in the diagrams.net/draw.io integration, never tried myself though.

Due to the above I'll likely close this off as out of scope unless I've misunderstood something or there's further discussion to be had.

@ssddanbrown commented on GitHub (Jan 5, 2022): Thanks for the request @AC-WhiteGlint. This request is asking quite a lot in reality, since we'd need to build in the systems and interfaces to support data input, chart configuration, display handling, editor integration and export support. In addition, I try to keep user content away from proprietary formats which chart.js would effectively be unless we support another intermediary format. The advised benefit if not "requiring an external application" is fairly weak since that could apply to almost any feature request, it's not really clear how this would fit into the system or how the build and maintenance effort would be worthwhile. Note, I think you could technically draw out a chart in the diagrams.net/draw.io integration, never tried myself though. Due to the above I'll likely close this off as out of scope unless I've misunderstood something or there's further discussion to be had.
Author
Owner

@IOTech17 commented on GitHub (Jan 5, 2022):

Maybe you can have a look at this : https://github.com/highcharts/highcharts

https://www.highcharts.com/blog/tutorials/how-to-integrate-highcharts-editor-into-tinymce-editor/

This should be doable.

My idea was wo only use bookstack editor and not change windows/tab to do the charts keeping the focus on the same window.

@IOTech17 commented on GitHub (Jan 5, 2022): Maybe you can have a look at this : https://github.com/highcharts/highcharts https://www.highcharts.com/blog/tutorials/how-to-integrate-highcharts-editor-into-tinymce-editor/ This should be doable. My idea was wo only use bookstack editor and not change windows/tab to do the charts keeping the focus on the same window.
Author
Owner

@IOTech17 commented on GitHub (Jan 5, 2022):

Btw good work on bookstack it is really great!

@IOTech17 commented on GitHub (Jan 5, 2022): Btw good work on bookstack it is really great!
Author
Owner

@ssddanbrown commented on GitHub (Jan 5, 2022):

Thanks @AC-WhiteGlint!

This should be doable.

It's definitely doable, just not feasible in my opinion at this stage of the project.

I do have a fair amount of experience with both highcharts and chart.js.
Although highcharts offers some level of configuratiuon UI, and TinyMCE integration, that still doesn't solve all the concerns and we'd likely be moving away from TinyMCE soon anyway. In addition, highcharts is not free/open-source so not something we can include.

@ssddanbrown commented on GitHub (Jan 5, 2022): Thanks @AC-WhiteGlint! > This should be doable. It's definitely doable, just not feasible in my opinion at this stage of the project. I do have a fair amount of experience with both highcharts and chart.js. Although highcharts offers some level of configuratiuon UI, and TinyMCE integration, that still doesn't solve all the concerns and we'd likely be moving away from TinyMCE soon anyway. In addition, highcharts is not free/open-source so not something we can include.
Author
Owner

@IOTech17 commented on GitHub (Jan 5, 2022):

Got it! Do you know which editor you will be using to replace TinyMCE?

@IOTech17 commented on GitHub (Jan 5, 2022): Got it! Do you know which editor you will be using to replace TinyMCE?
Author
Owner

@ssddanbrown commented on GitHub (Jan 6, 2022):

Will likely be prosemirror, Done some scoping in this issue: #2738

As per the above, will therefore close this as out of scope.

@ssddanbrown commented on GitHub (Jan 6, 2022): Will likely be prosemirror, Done some scoping in this issue: #2738 As per the above, will therefore close this as out of scope.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2559