Conversation
…rt on dashboard page
feat(ecDashboard): update earning chert with live data
Fix/safati charts issues
|
|
||
| constructor(private ordersChartService: OrdersChartService, | ||
| private profitChartService: ProfitChartService) { | ||
|
|
src/app/@theme/styles/themes.scss
Outdated
| list-item-border-width: 1px, | ||
|
|
||
| slide-out-container-width: 30%, | ||
| slide-out-background: linear-gradient(270deg, #f7fafb 0%, #ecf2f5 100%), |
|
|
||
| import { ProfitChart } from '../../../../@core/data/profit-chart.service'; | ||
|
|
||
| // TODO: need design, temporary solution |
| nb-theme(card-header-border-color); | ||
|
|
||
| .header { | ||
| margin-left: 1.1rem; |
| data: this.data, | ||
| }, | ||
| ], | ||
| }) |
| .echart { | ||
| position: absolute; | ||
| width: calc(50% - #{nb-theme(card-padding)}); | ||
| height: calc(100% - 2 * #{nb-theme(card-padding)}); |
| this.options = this.getOptions(variables); | ||
| const defaultSelectedData = | ||
| this.options.series[0].data.find((item) => item.name === this.defaultSelectedCurrency); | ||
| const color = defaultSelectedData.itemStyle.normal.color.colorStops[0].color; |
There was a problem hiding this comment.
efaultSelectedData.itemStyle.normal.color.colorStops[0].color;
| earningLiveUpdateCardData: LiveUpdateChart; | ||
| liveUpdateChartData: {value: [string, number]}[]; | ||
| timeTicket: any; | ||
|
|
| * @type {{iconColor: string; title: string}[]} | ||
| */ | ||
| @Input() | ||
| legendItems: {iconColor: NgxLegendItemColor; title: string}[]; |
| } | ||
|
|
||
| ngOnDestroy() { | ||
| this.themeSubscription.unsubscribe(); |
|
Hey @dizco, this is a new dashboard we are working on, so if you have any comments - looking forward to it! |
|
@nnixaa ohhh that sounds interesting! I'll check it out. Nevermind my previous comment on here, I didn't know 😅 |
|
Hey @nnixaa, I checked it out and it looks really nice!! Definitely a few components that I should be able to reuse for my own project too. Also something to think about could be a way to filter data, either by date interval or other... I know right now those filters are mostly on a per-card basis, but I'm wondering if that's really a main use case, versus filtering globally. Just my 2 cents, great work |
|
@dizco hm, good idea, I believe we can somehow combine both per card and global date/time filters. Will save it as a possible enhancement. |
Apply review comments
feat(ecommerce): add responsive
ecommerce update profit icon, add e commerce icon
ecommerce fix lint issues
|
Wow. New major release? |
Please read and mark the following check list before creating a pull request (check one with "x"):
Short description of what this resolves: