unable to display the table which contains "message data" to chart while clicking on the particular part - reactjs

When we click on a particular month in a chart then it need to display depends upon the specific month and the same "constant.js". Could you please help me in this to display some of the data in table?

As I can see the value of this.props.messages is undefined. So that's why you are not able to display records in table. Because you are trying to pull data from this.state.messages and it's undefined.
Once you fix it then it will auto display in the table.
Here I have created working demo for you.
https://codesandbox.io/s/prod-pine-krhfq

Related

How can I load a chart table with a default value in Google Data Studio?

I'm working on a Google Data Studio page which pulls data from a Google Sheet.
The use case of this page is to display the data from a row (from the Google Sheet) based on a selection made from a filter (single select dropdown).
When the Google Data Studio page loads, by default, it loads all the data from the source and displays it on the chart tables, however I would like to display a blank page and the data should load only after a selection is made from the filter dropdown.
There is a simple way to solve this problem. In the drop-down filter settings, in the "default selection" field, you can enter text by default that does not match any of the possibilities of the list items will be displayed in the drop-down list. It might be something like "-".
Thus, defining a default selection that does not exist in the list, it will start by default selected and will not correspond with any existing field, causing no information to be displayed in the table.

How can I manipulate the date shown in the headers of a anychart resource gantt when there is no data to be loaded

We use the anychart GanttResource chart to show Technicians with their tasks on a daily base. To do this we use a DateFilter outside the component to load our data. Then when the data is retrieved from the API we set this data to the chart. As long there is data retrieved there is no problem, the chart fluently goes to the chosen day and only shows this data. However when the API returns no data or a 400, we add an empty list to the chart data. This looks ok at first, but when looking better to it I noticed the chart defaults back to today as date to show in the header. How can I manipulate this so the selected filter date could be shown there?
Anyone any suggestions about how to get this result? I can't seem to find a functionality or such to set the timeline date to use.
If my explanation is unclear then please let me know so I can elaborate any further or provide any screenshots to make it more clear.
It's not possible to zoom to some period of time when you don't have any data. But you can add an auxiliary element (e.g. a marker) to the data, and you'll be able to set the timeline zoom to a specific range. After you get the real data, the element can be deleted. Please check this sample: https://playground.anychart.com/uZ3gynNU

How to avoid refreshing table after populating form details in adf

I have a af:table and af:panelformlayout representing the same VO in a fragment.The details populated in the form will be updated in the af:table. The form has 10 fields. Each time I fill in a form field the af:table gets updated and refreshed.
My question is how do i avoid table refresh after populating each field in the form. I want the table to refresh only after i fill all the fields and submit the details.
I am using JDeveloper 11.1.1.7.0.
Thanks for your help in advance.
might need to adjust PPR:
here, docs, or overview, tutorial - how to make it happen - so maybe how to "turn it off"

SSRS Charts Legend Series 1

I am stuck with one of the most irritating problem of SSRS. In my chart, I am displaying all months for months with data and without data. Reason being User wants to see all the months.
now where there is no data in any month then in the legend, SSRS is by default putting Series 1(dont know why called it Series 1)
Instead it should display "Declined", "Re-Directed", "Upheld" but what I am getting is
"Series 1", "Declined", "Re-Directed", "Upheld"
http://imgur.com/abWGg67
http://imgur.com/22yFYta
My problem is, User wants to see months with no data but she is not ready to see Series 1 in the legend and I have tried everything but couldn't figure out the solution.
Please help:
I know it's old but I found another way to hide Series1 on the chart.
Click on a Series
Go to the Properties pane, Appearance > (Hidden) option.
Click on the Expression button (looks like Fx)
Enter in the following:
=IIF(IsNothing(Fields!GROUPING_OPTION.Value)=TRUE, TRUE, FALSE)
Please see this image for an example:
ScreenshotOfMyReport
Sorry- I don't have enough reputation to embed the image yet.
I found the answer to my question. I have updated my Stored Procedure. I wrote a Case Statement in Stored Procedure stating that where it's blank in the chart then show it as a 'No Data Yet' in the Legend.
http://imgur.com/seVxA5Z
Image might explain better :)

How to dynamically update summary type for grid in extjs4.1

How to dynamically update summary feature for grid in extjs4.1?
In my application the grid summary will become filled at the time of loading the page, the grid by calculating a total using the summary feature. I have a combo box drop down in the screen. If a user selects from the combo box, I need to update the grid records from store and also need to update the calculated summary value using records coming from another store.
Can anybody tell me how to do that? Thanks
Assuming that yourGridItemId is the first/only grid with this itemId, the following code should work:
Ext.ComponentQuery.query('#yourGridItemId')[0].getView().refresh();

Resources