ui fixes
This commit is contained in:
parent
ca5425b152
commit
54cb8a36e7
@ -180,7 +180,7 @@ $: {
|
|||||||
<span class="text-xs sm:text-sm text-gray-400 m-auto mb-5 ">
|
<span class="text-xs sm:text-sm text-gray-400 m-auto mb-5 ">
|
||||||
File must be smaller than 5MB.
|
File must be smaller than 5MB.
|
||||||
</span>
|
</span>
|
||||||
<label for={id} class="cursor-pointer rounded-full bg-purple-600 text-sm text-white font-bold w-auto p-3">
|
<label for={id} class="cursor-pointer rounded-lg sm:hover:bg-purple-700 bg-purple-600 text-sm text-white font-bold w-auto p-3">
|
||||||
Choose File
|
Choose File
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
|||||||
@ -41,7 +41,7 @@ const plotPieChart = () => {
|
|||||||
shareholderList = shareholderList?.filter(item => item?.ownership <= 100);
|
shareholderList = shareholderList?.filter(item => item?.ownership <= 100);
|
||||||
topHolders = 0;
|
topHolders = 0;
|
||||||
otherOwner = 0;
|
otherOwner = 0;
|
||||||
institutionalOwner = rawData?.ownershipPercent;
|
institutionalOwner = rawData?.ownershipPercent > 100 ? 99.99 : rawData?.ownershipPercent;
|
||||||
|
|
||||||
otherOwner = institutionalOwner === 0 ? 0 : (100-institutionalOwner);
|
otherOwner = institutionalOwner === 0 ? 0 : (100-institutionalOwner);
|
||||||
topHolders = shareholderList?.slice(0,10)?.reduce((total, shareholder) => total + shareholder.ownership, 0);
|
topHolders = shareholderList?.slice(0,10)?.reduce((total, shareholder) => total + shareholder.ownership, 0);
|
||||||
|
|||||||
@ -95,7 +95,7 @@ const allRules = {
|
|||||||
cagr5YearEPS: { label: 'EPS CAGR 5Y', step: ['200%','100%','50%','20%','10%','5%','1%'], category: 'fund', defaultCondition: 'over', defaultValue: '1%' },
|
cagr5YearEPS: { label: 'EPS CAGR 5Y', step: ['200%','100%','50%','20%','10%','5%','1%'], category: 'fund', defaultCondition: 'over', defaultValue: '1%' },
|
||||||
returnOnInvestedCapital: { label: 'Return On Capital', step: ['100%','50%','20%','10%','5%','1%'], category: 'fund', defaultCondition: 'over', defaultValue: '1%' },
|
returnOnInvestedCapital: { label: 'Return On Capital', step: ['100%','50%','20%','10%','5%','1%'], category: 'fund', defaultCondition: 'over', defaultValue: '1%' },
|
||||||
relativeVolume: { label: 'Relative Volume', step: ['500%','200%','100%','50%','10%','0%'], category: 'fund', defaultCondition: 'over', defaultValue: '50%' },
|
relativeVolume: { label: 'Relative Volume', step: ['500%','200%','100%','50%','10%','0%'], category: 'fund', defaultCondition: 'over', defaultValue: '50%' },
|
||||||
|
institutionalOwnership: { label: 'Institutional Ownership', step: ['90%','80%','70%','60%','50%','40%','30%','20%','10%'], category: 'fund', defaultCondition: 'over', defaultValue: '10%' },
|
||||||
|
|
||||||
pe: { label: 'PE Ratio', step: [50,40,30,20,10,5,1], category: 'fund', defaultCondition: 'over', defaultValue: 1 },
|
pe: { label: 'PE Ratio', step: [50,40,30,20,10,5,1], category: 'fund', defaultCondition: 'over', defaultValue: 1 },
|
||||||
forwardPE: { label: 'Forward PE', step: [50,20,10,5,1,0,-1,-5,-10,-20,-50], category: 'fund', defaultCondition: 'over', defaultValue: 0 },
|
forwardPE: { label: 'Forward PE', step: [50,20,10,5,1,0,-1,-5,-10,-20,-50], category: 'fund', defaultCondition: 'over', defaultValue: 0 },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user