Has this been implemented in Vol 2 as promised?
Ok I see from the release notes for 19.2.44 that
#I329615 - The issue with “The AddPanel method is not working when using for loop” has been resolvedSpoke too soon. Add doesn't seem to work if there are tiles already in the collection.
In summary, what I'm expecting is to be able to add and remove tiles from the collection bound to the dashboard and for it to update the dashboard visuals. Calling a refresh method to have the dashboard revaluate the collection would be fine.
Noticed that a fix for this was delivered in 19.2.48. This is a big improvement but there are still a couple of issues:
1) If the tile has a titlebar and uses an SfChart in the content then chart vertical size is incorrect. Note is the tile is added in the initialize this does not happen.
2) Tiles that are add in initialize do not drag if they are deleted and added back.
Attach is a demo project with a video of the issue in the root.
|
// Process dashboard toolbar buttons
protected async Task ToolbarClick(Syncfusion.Blazor.Navigations.ClickEventArgs args)
{
switch (args.Item.Id)
{
case "NewTile":
int NewId;
if (DashBoardObj.Tiles.Count > 0)
NewId = DashBoardObj.Tiles.Max(x => x.DashBoardTileId)+1;
else
NewId = 1;
Point pt = await GetTilePlacement(12, 12);
DashBoardObj.Tiles.Add(new DashBoardTile { DashBoardTileId = NewId, SizeX = 12, SizeY = 12, PositionX = pt.X, PositionY = pt.Y});
break;
case "DeleteTile":
var Tile = DashBoardObj.Tiles.Last();
DashBoardObj.Tiles.Remove(Tile);
break;
case "NewDashBoard":
DashBoards.Add(new DashBoard { DashBoardId = 2, Name = "Test2" });
DashBoardId = 2;
break;
}
await MainDashboard.RefreshAsync();
} |
Hi,
Noticed that 28164, although marked as complete, is still effecting the Circular gauge chart. Other chart types seem fine.
Hi Michael,
We have validated your query in the latest package version, but we were unable to reproduce the reported issue at our end. For your reference, we have attached the sample in the latest version (V20.1.0.60) and a video footage.
Video : https://www.syncfusion.com/downloads/support/directtrac/general/ze/DashboardVideo-791610949.zip
Kindly check the shared sample at your end. If the issue still persist, share with us the package version used in your sample. Please share the details with us, which will help us to check and provide a prompt solution. Let us know if you need any further assistance.
Regards,
Prasanth Madhaiyan.