It's possible navigate to a new chart with double click?

jjimenezs asked on August 12, 2019

Hi,
I’m working with a license of flexmonster and i don’t know if is possible navigate from a chart to other diferent chart.The charts have a double click function, this open a details grid. I want to double click on a chart (pie for example) there will be another pie with other data.
It is possible to open another chart without open the detail grid?
Regards.

4 answers

Public
Vera Didenko Flexmonster August 13, 2019

Hello, 
 
Thank you for writing to us.
 
We would like to confirm that it is possible to achieve the desired behavior.
 
1) To prevent the drill-through pop-up window (detailed grid) from appearing, set the drillThrough parameter of the options object to false:

options: {
drillThrough: false,
}

 
2) Flexmonster provides a list of event handlers.
In the celldoubleclick event, you can specify the needed behavior.
 
Here is a JSFiddle example showing how the drillThrough is disabled and how the celldoubleclick event is used.
 
We would like to mention that you can also customize the context menu and add new options (for example, navigating to another chart) to it.
This way, you can provide an option to open another chart without having to disable the drill-through pop-up window.
 
Please let us know if this helps.
 
Best Regards,
Vera

Public
jjimenezs 5 days ago

Thanks for answering.

It is not exactly what I am looking for.
The solution you propose is based on having a grid, but what I want is, starting from a chart, double-clicking on the chart and going to another.
The double click you tell me is executed when you double click on a cell, but not on a chart.
If I develop the double click, it only runs if I do it on a grid, not on a chart.
Is there a specific double click for the charts?
 

Public
Dmytro Zvazhii Flexmonster 5 days ago

Hello,
Thank you for your feedback.
 
Currently, our doubleclick event is not supported for charts.
In such cases, we recommend using the customize context menu approach: https://www.flexmonster.com/doc/customizing-context-menu/.
It allows achieving a similar behavior.
 
Please let us know if you have any questions.
Regards,
Dmytro

Public
jjimenezs 4 days ago

OK thank you very much.

Please login or Register to Submit Answer