Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

How to apply separate filters to Highcharts, connected to Flexmonster?

Answered
Artem asked on May 21, 2020

Dear Flexmonster team,
I’ve faced with an issue, here are the details:
Precondition: One Flexmonster instance with something filtered out of it. Multiple Highcharts connected to it, with different filters passed to it in slice on creation.
Expected behavior: Highcharts will apply their own filters.
Actual behavior: All Highcharts apply main Flexmonster table filter.
Example: https://jsfiddle.net/7f4wauqk/
Additional case: if filter for main instance exists, but it allows all fields, then it works right – every Highchart uses its own filter.
I believe that shouldn’t work so. If it should, could you advise how can I achieve behavior I want? If not – could you give ETA for a fix?
Thanks in advance.

13 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster May 25, 2020

Hello, Artem,
 
Thank you for reporting about the problem and for preparing the example.
 
The fix is going to be provided with a minor update ETA June 15.
We will notify you as soon as the version is available to download.
 
Also, our team would like to kindly notice that the hierarchy placed in report filters can not be chosen to be displayed on the grid. Therefore, we recommend placing the “Customer Satisfaction” hierarchy and it’s filters in rows.
 
Do not hesitate to contact us in case additional assistance is needed.
 
Kind regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster June 16, 2020

Hello, Artem,
 
We are pleased to inform you that the issue with overwriting filters in a slice for third-party charts integration was fixed.
 
This is available in the 2.8.9 version of Flexmonster: https://www.flexmonster.com/release-notes/.
 
You are welcome to update the component.
Here is our updating to the latest version tutorial for guidance: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
 
Please let us know if everything works fine for you.
 
Best regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster July 1, 2020

Hello, Artem,
 
Our team wants to kindly take an interest in whether the provided fix works for your case.
 
We are looking forward to hearing from you.
 
Regards,
Illia

Public
Artem July 2, 2020

Hi Illia,
We were able to update version and check that fix not so long ago. And initial issue is fixed, but found two similar cases:
a) https://jsfiddle.net/Dongor7/1u2oexq8/
1. Click “Add pie”
2. Change “Customer Satisfaction” filter on table
3. Click “Add pie 2”
Both pies show data filtered by this new value of filter.
b) https://jsfiddle.net/Dongor7/1u2oexq8/25/
1. Click “Add pie”
2. Change “Customer Satisfaction” filter on table
Filter is immediately applied to pie chart too
This case differs from the first one by having an update function for pivot.highcharts.getData.
 
Looking forward to hearing from you.
Regards,
Artem

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster July 2, 2020

Hello, Artem,
 
Thank you for reporting about the problem and for providing examples.
 
The fix on the issue is going to be provided with a minor update ETA Aug 11.
We will notify you as soon as the version with a fix is available to download.
 
You are welcome to contact us in case any other questions occur.
 
Regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster August 11, 2020

Hello, Artem,
 
We are pleased to inform you that the overwriting issue with empty filters in a slice for third-party charts integration was fixed.
 
This is available in the 2.8.13 version of Flexmonster.
 
You are welcome to update the component.
Please let us know if everything works fine for you.
 
Best regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster August 19, 2020

Hello, Artem,
 
Our team is wondering whether the recent fix works well for your case.
 
We are looking forward to hearing from you.
 
Best regards,
Illia

Public
Artem August 24, 2020

Hi Illia,
Yes, new version does not have this problem, thanks for the fix.
One thing we noticed though is that in new version when we right-click some column and choose “Number Formatting” it will open popup without chosen column(dropdown will display Choose value), while previously column that was right-clicked was auto-filled there. Is this intended behavior or will it be fixed soon?
Best Regards,
Artem

Public
Artem August 25, 2020

Hi Illia,
We’ve found one more case where behavior is different from previous version.
Previously(in version 2.7.19) when some column used in calculated value is absent, then its value for formula was treated as 0. And on current version(2.8.13) it removes column with calculated value from table and shows a dialog “Wrong formula format. Please check.
The field with {column_name_here} uniqueName is not defined.”
Is this an intended change? And if yes, is there any way to not show this dialog box(if we’ll want to add some other warning instead of it)?
Best Regards,
Artem

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster August 26, 2020

Hello, Artem,
 
Thank you for writing to us.
 
Concerning the issue with number formatting pop-up, we want to confirm that such behavior is not expected. The fix is going to be provided with a minor release ETA Sep 21.
Our team will notify you as soon as the version with a fix is available to download.
 
As for calculated values, our team would like to explain that formulas validation was not changed since 2.9.17 minor version. The appearing alert can be removed using the validateFormulas property of the Options Object. In case its value is set to false, no alert will appear, and the absent field will be treated as zero.
 
Please let us know if it works for you.
Do not hesitate to contact us in case further questions arise.
 
Best regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster September 22, 2020

Hello, Artem,
 
We are glad to announce that the issue with opening number formatting window with preselected measure via context menu was fixed.
 
This is provided in the 2.8.16 version of Flexmonster.
 
You are welcome to update the component.
Here is our updating to the latest version guide for assistance.
 
Please let us know if everything works.
 
Best regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster September 29, 2020

Hello, Artem,
 
Our team is wondering whether the recent fix works for your case.
 
We are looking forward to hearing the feedback from you.
 
Best regards,
Illia

Public
Artem September 29, 2020

Hi,
We haven’t updated version of Flexmonster yet, since it’s not a critical issue for us.
Thanks.

Please login or Register to Submit Answer