Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    IVData
    @IVData
    Sorry yeah its messy haha
    lineChart is defined like LineChart<double> lineChart;
    I also clear the chart (this is a live chart that scrolls, so I clear it to re-draw it). Does the axes need to be set each time I call AddDataSet()?
    Mladen Macanović
    @stsrki
    @IVData try to set OptionsJsonString attribute instead. Use this "{\"scales\": {\"yAxes\": [{\"ticks\": {\"beginAtZero\": \"true\"}}]}}" as value.
    IVData
    @IVData
    That worked thanks!
    So does that mean the other options aren't working properly?
    Mladen Macanović
    @stsrki
    It's not the problem with Options but with the default json serializer that Blazor is using. It is pretty buggy and it doesn't support inheritance. Also some required features are also missing. I thinking to write my own json serializer instead but that can take time. So that's why I introduced OptionsJsonString as a workaround.
    Mladen Macanović
    @stsrki
    Blazorise 0.8.5 is finally released. See release notes for a full list of changes.
    Github: https://github.com/stsrki/Blazorise
    Ricardo
    @ricardoromaobr
    Nice!
    Brett
    @brettwinters
    image.png
    Hi @stsrki - not sure if this is my issue - I remember playing around with my css (body, z-order) to try to get the toolips working
    Mladen Macanović
    @stsrki
    @brettwinters what is the problem here? Tooltips or modal backdrop?
    Brett
    @brettwinters
    the modal backdrop. But i’m not sure whats causing this issue. Are your demos working?
    Mladen Macanović
    @stsrki
    image.png
    Seems like they're working
    Brett
    @brettwinters
    Yeah I must have set something somewhere....🤔
    Mladen Macanović
    @stsrki
    .modal-backdrop { z-index: -1; }
    try this
    something should be wrong with z-index
    Brett
    @brettwinters
    Oh yes I think mine is showing about 1000 - I think that’s the BS setting. I’ve already closed my laptop. Will try tomorrow. Have a good evening !
    kiyote
    @kiyote
    And just to make more work for everyone, new Blazor packages have dropped. :/
    Brett
    @brettwinters
    Hi @stsrki - ahhh, I see you're overriding the default bootstrap z-order (1040) using blazorise.bootstrap.css...
    I was going on holiday so I set up <environment names="offline">- with local copies of the css/js, which I couldn't get to work anyway. But it seems have stopped your css from loading...
    Brett
    @brettwinters
    anyway issue solved
    Mladen Macanović
    @stsrki
    Blazorise updated to .NET Core 3.0
    https://blazorise.com/docs/release-notes/release086/
    IVData
    @IVData
    @stsrki i dont really understand the last step in the quick start guide
    are the static files now contained in the nuget package, no .zip?
    IVData
    @IVData
    Seems like the answer is yes. I should have just tried before asking :)
    intiharj
    @intiharj
    I have a bar chart with two datasets (series). I'd like all the bars for the first dataset to be blue and all the bars for the second dataset to be green. Using chartjs, I'd set the dataset.backgroundColor to a string representing a single color value (vs an array of colors) and every bar in that series would be the same color. However, BarChartDataset<T> appears to only support a list of colors. I can make this work, but I'm looking for a simpler way to set the default color for a series.
    Ricardo
    @ricardoromaobr
    Sidebar component does'nt has a background property to change background color ?
    Mladen Macanović
    @stsrki
    @ricardoromaobr i'm on vacation so I cannot check it. But I think you can do it by setting the css root variable. You can see in the source code
    @intiharj currently only an array is supported. I think I can consider adding support for backgroundColor in one of next versions
    Ricardo
    @ricardoromaobr
    Yes, I made it. :)
    Ricardo
    @ricardoromaobr
    Hi ! I'm looking DataGrid and I not see how to page data from database?
    And looking on example I see that it use a list and page them. If a take a number of rows on database DataGrid will not now the number of page to create page component. You thing something about it?
    *Do yout think something about it?
    Ricardo
    @ricardoromaobr
    maybe a new component DataPage that wrap a DataGrid and configure it get a new list every time tha page change
    I'm think about it, I don't know if I can do it:)
    Ricardo
    @ricardoromaobr
    Oops!Let me write again. I think that can be write a new component DataPage that would wrap a DataGrid and configure it to get a new collection every time the page change and DataPage will need to subscribe to some events like sort and others that need new data to be showed. I don't know, I'm think how it would be made fast
    WebForms has something like it. If I remember :)
    Mladen Macanović
    @stsrki
    @ricardoromaobr I think it should already be possible to do. I will try to see what can be done and will let you know
    Ricardo
    @ricardoromaobr
    @stsrki Ok, I'm wainting for your answer
    Ricardo
    @ricardoromaobr
    @stsrki There is something new for me about DataGri for page data from database?
    Mladen Macanović
    @stsrki
    @ricardoromaobr So I looked into DataGrid and there is going to be some changes to make it work. Basically once I fix this issues you could use a IQueryable to connect with the database as a data-source. When I first created DataGrid there was some issues with mono runtime so I had to have some workarounds that are now stopping us from using large data-source. Since I'm already behind the schedule with v0.8.7 I will probably move this to the next v0.8.8. Hope you will understand.
    Ricardo
    @ricardoromaobr
    @stsrki In general people use a DDD that use a pattern like Repository. So this object will make the pagging and DataGrid need to be skill to get the number of lines of the page (5, 15, 50, 100), normal a little number of lines (the pagesize). But supose the number of records is 5000. And when pagechange event ocorreded the develop call a repository again to get a new page of data. Will be people that will use a list like today and want that it is pagging and will the case that will page from the server.
    @stsrki Like DataTable. it have two behavior. One that take the full data and page it and another that take data from the server.
    Ricardo
    @ricardoromaobr
    Yea! I understand.
    Ricardo
    @ricardoromaobr
    Hi, I comment with some develop on visual studio for mac, about to create a template project with blazorise. They say that it looks pretty cool. I'm waitting for it news releases
    image.png