Highcharts Histogram (including other highcharts modules?) #1025
-
QuestionI've been using Highcharts through NiceGUI for a while now for all sorts of types (bubble, scatter, line, etc..) but when I recently tried to use a 'histogram' type, nothing would show up and I would see the following error: I think it's not recognizing that type because its not defined in the main I don't know much about how these web technologies work but I tried using So is there a good way for me to tell the browser or the niceGUI python package to include this file so that the 'histogram' and 'bellcurve' chart types can work? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @aFlocker! ui.chart({
'series': [{
'type': 'histogram',
'data': [1, 2, 3, 4, 5],
}]
}, extras=['histogram-bellcurve']) |
Beta Was this translation helpful? Give feedback.
-
Is there an extras name for "organization" type as well? |
Beta Was this translation helpful? Give feedback.
Hi @aFlocker!
You can use Highcharts extensions like "histogram-bellcurve" using the
extras
parameter: