Cloud
Облачный сервис для быстрого и эффективного анализа и визуализации данных для вашего бизнеса без необходимости создания своих приложений и программирования.
<script setup lang="ts">
import { Viewer, Stimulsoft } from 'stimulsoft-reports-js-vuejs/viewer'
var report = new Stimulsoft.Report.StiReport();
report.loadFile("Reports/SimpleList.mrt");
report.dictionary.clear();
var database = new Stimulsoft.Report.Dictionary.StiJsonDatabase("Demo", "Data/Demo.json");
report.dictionary.databases.add(database);
report.dictionary.synchronize();
</script>
<template>
<Viewer :report="report" />
</template>A StiJsonDatabase is created with a name and a path to the JSON file, added to dictionary.databases, and dictionary.synchronize() rebuilds the data schema so the report can bind to it.