Giter Site home page Giter Site logo

bung87 / powerbi-visuals-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from avontd2868/powerbi-visuals

0.0 3.0 0.0 144.46 MB

This library contains the Power BI visuals such as the Bar chart, Column chart etc and the visual framework.

Home Page: https://powerbi.com

License: Other

JavaScript 63.22% TypeScript 34.97% Batchfile 0.01% CSS 1.77% HTML 0.04%

powerbi-visuals-core's Introduction

Note: this repository was recently moved from PowerBI-Visuals. This repository contains information about the core PowerBI Visuals and reference for custom visuals developed using the old method / tools.

If you are creating a new custom visual it is highly recommended that you use the new api / tools learn more

Microsoft Power BI visuals Core

Build status Build Status

The Microsoft Power BI visuals project provides high quality data visualizations that you can use to extend Power BI. The project contains over 20 visualization types, the framework to run them, and the testing infrastructure that enables you to build high quality visualizations. The framework provides all the interfaces you need to integrate fully with Power BI's selection, filtering, and other UI experiences. The code is written in TypeScript so it's easier to build and debug. Everything compiles down to JavaScript and runs in modern web browsers. The visuals are built using D3 but you can use your favorite technology like WebGL, Canvas, or SVG. This gives you everything you need to build custom visualizations for Power BI.

What is included

  1. Source code of all the visuals used in Power BI.
  2. A Playground app to help you try out the existing visuals, and experiment with the ones you have created.

Getting Started

Prerequisites

To build the library and run the sample application you will need:

  • Git
  • Node.js (>= 4.x <= 5.x)
  • Recommended IDE - Visual Studio Community 2015 (Free for use)
  • Be sure to install the "Microsoft Web Developer Tools" optional feature. To install, go to Add/Remove Programs, right-click on Visual Studio, select Change, then Modify. Check the "Microsoft Web Developer Tools" checkbox and finish the install.
  • Ensure that Visual Studio is not using previous version of Node.js. Go to Tools > Options, then Projects and Solutions > External Web Tools. You can remove old path and add folder with the latest Node.js, or just leave $(PATH) and move it above all folders, if PATH environment variable contains path of the latest Node.js.
  • You can install VSIX Package and use Visual Studio Template from it to create new Visual.

One-Time Setup

In order to build the Power BI visuals, ensure that you have Git and Node.js installed.

Install gulp if not present:

npm install -g gulp

Clone a copy of the repo:

git clone https://github.com/Microsoft/PowerBI-visuals-core.git

Change to the PowerBI-visuals-core directory:

cd PowerBI-visuals-core

Install dev dependencies:

npm install # This command will install all necessary modules

Running PlayGround from Visual Studio

Make sure you first follow the Prerequisites & Onetime Setup

To run sample app:

  1. Open src\PowerBIVisuals.sln in Visual Studio then under src\Clients\PowerBIVisualsPlayground, right click on standalone.html file and select 'Set As Start Page'.

  2. Right click on the project root folder(PowerBIVisualsPlayground) then select 'Property Pages'. In the window opened select 'Build' and then in 'Before running startup page' select 'No Build'.

  3. Right click on PowerBIVisualsPlayground and 'Set as Startup Project'

  4. Run "build" task from "Task Runner Explorer" window.

  5. Ctrl + F5 to launch the Playground.

Running PlayGround without Visual Studio

Make sure you first follow the Prerequisites & Onetime Setup

Use the following command to run sample app:

gulp playground # Build and run sample app with Webpack dev server (live reload feature)

Building Power BI visuals from command line

Make sure you first follow the Onetime Setup

Use the following command to build Power BI visuals from command line:

gulp build # Build projects and tests

Running Unit Tests

Use the following command to build and run unit tests:

gulp test # Build and run unit tests

How to Engage, Contribute and Provide Feedback

There are many ways in which you can contribute to Power BI visuals:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Documentation

Copyrights

Copyright (c) 2016 Microsoft

See the LICENSE file for license rights and limitations (MIT).

powerbi-visuals-core's People

Contributors

ignatvilesov avatar kamilzakiev avatar vtkalek avatar spatney avatar uve avatar sgrebnov avatar v-asbenj avatar andycross avatar matthlee avatar jcludwig avatar deniskudelin avatar itslenny avatar liupeirong avatar mhardy avatar jongio avatar v-roklus avatar vkovin avatar tomsoir avatar b-gilish avatar wesyao avatar v-danbes avatar nicocristache-ms avatar sachinio avatar v-itbir avatar b-yajaco avatar imbaky avatar mark3448 avatar meravber avatar ytechie avatar hammyhavoc avatar

Watchers

James Cloos avatar Bung avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.