mirror of
				https://github.com/KevinMidboe/vue-chartjs.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	🔥 Remove default styles object as it causes problems
This will fix #176 Signed-off-by: Jakub Juszczak <netghost03@gmail.com>
This commit is contained in:
		| @@ -41,14 +41,7 @@ export default Vue.extend({ | ||||
|       default: '' | ||||
|     }, | ||||
|     styles: { | ||||
|       type: Object, | ||||
|       default () { | ||||
|         return { | ||||
|           width: '100%', | ||||
|           height: '100%', | ||||
|           position: 'relative' | ||||
|         } | ||||
|       } | ||||
|       type: Object | ||||
|     } | ||||
|   }, | ||||
|   data () { | ||||
|   | ||||
| @@ -42,14 +42,7 @@ export default Vue.extend({ | ||||
|       default: '' | ||||
|     }, | ||||
|     styles: { | ||||
|       type: Object, | ||||
|       default () { | ||||
|         return { | ||||
|           width: '100%', | ||||
|           height: '100%', | ||||
|           position: 'relative' | ||||
|         } | ||||
|       } | ||||
|       type: Object | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   | ||||
| @@ -42,14 +42,7 @@ export default Vue.extend({ | ||||
|       default: '' | ||||
|     }, | ||||
|     styles: { | ||||
|       type: Object, | ||||
|       default () { | ||||
|         return { | ||||
|           width: '100%', | ||||
|           height: '100%', | ||||
|           position: 'relative' | ||||
|         } | ||||
|       } | ||||
|       type: Object | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   | ||||
| @@ -42,14 +42,7 @@ export default Vue.extend({ | ||||
|       default: '' | ||||
|     }, | ||||
|     styles: { | ||||
|       type: Object, | ||||
|       default () { | ||||
|         return { | ||||
|           width: '100%', | ||||
|           height: '100%', | ||||
|           position: 'relative' | ||||
|         } | ||||
|       } | ||||
|       type: Object | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   | ||||
| @@ -42,14 +42,7 @@ export default Vue.extend({ | ||||
|       default: '' | ||||
|     }, | ||||
|     styles: { | ||||
|       type: Object, | ||||
|       default () { | ||||
|         return { | ||||
|           width: '100%', | ||||
|           height: '100%', | ||||
|           position: 'relative' | ||||
|         } | ||||
|       } | ||||
|       type: Object | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   | ||||
| @@ -42,14 +42,7 @@ export default Vue.extend({ | ||||
|       default: '' | ||||
|     }, | ||||
|     styles: { | ||||
|       type: Object, | ||||
|       default () { | ||||
|         return { | ||||
|           width: '100%', | ||||
|           height: '100%', | ||||
|           position: 'relative' | ||||
|         } | ||||
|       } | ||||
|       type: Object | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   | ||||
| @@ -42,14 +42,7 @@ export default Vue.extend({ | ||||
|       default: '' | ||||
|     }, | ||||
|     styles: { | ||||
|       type: Object, | ||||
|       default () { | ||||
|         return { | ||||
|           width: '100%', | ||||
|           height: '100%', | ||||
|           position: 'relative' | ||||
|         } | ||||
|       } | ||||
|       type: Object | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   | ||||
| @@ -42,14 +42,7 @@ export default Vue.extend({ | ||||
|       default: '' | ||||
|     }, | ||||
|     styles: { | ||||
|       type: Object, | ||||
|       default () { | ||||
|         return { | ||||
|           width: '100%', | ||||
|           height: '100%', | ||||
|           position: 'relative' | ||||
|         } | ||||
|       } | ||||
|       type: Object | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   | ||||
| @@ -42,14 +42,7 @@ export default Vue.extend({ | ||||
|       default: '' | ||||
|     }, | ||||
|     styles: { | ||||
|       type: Object, | ||||
|       default () { | ||||
|         return { | ||||
|           width: '100%', | ||||
|           height: '100%', | ||||
|           position: 'relative' | ||||
|         } | ||||
|       } | ||||
|       type: Object | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user